Package | Description |
---|---|
ar.com.hjg.pngj |
PNGJ main package
|
Modifier and Type | Interface and Description |
---|---|
interface |
IImageLineFactory<T extends IImageLine>
Image Line factory.
|
interface |
IImageLineSet<T extends IImageLine>
Set of
IImageLine elements. |
interface |
IImageLineSetFactory<T extends IImageLine>
Factory of
IImageLineSet , used by PngReader . |
class |
ImageLineSetDefault<T extends IImageLine>
Default implementation of
IImageLineSet . |
Modifier and Type | Class and Description |
---|---|
class |
ImageLineByte
Lightweight wrapper for an image scanline, used for read and write.
|
class |
ImageLineInt
Represents an image line, integer format (one integer by sample).
|
Modifier and Type | Field and Description |
---|---|
protected T |
ImageLineSetDefault.imageLine |
Modifier and Type | Field and Description |
---|---|
protected IImageLineSet<? extends IImageLine> |
PngReader.imlinesSet
Represents the set of lines (rows) being read.
|
Modifier and Type | Method and Description |
---|---|
static <T extends IImageLine> |
ImageLineSetDefault.createImageLineSetFactoryFromImageLineFactory(IImageLineFactory<T> ifactory)
utility function, given a factory for one line, returns a factory for a set
|
Modifier and Type | Method and Description |
---|---|
IImageLine |
IImageLineSet.getImageLine(int n)
Asks for imageline corresponding to row n in the original image (zero based).
|
IImageLine |
IImageLineSet.getImageLineRawNum(int n)
Like
IImageLineSet.getImageLine(int) but uses the raw numbering inside the LineSet This makes little sense for a cursor |
IImageLine |
PngReaderApng.readRow() |
IImageLine |
PngReader.readRow()
Reads next row.
|
IImageLine |
PngReaderApng.readRow(int nrow) |
IImageLine |
PngReader.readRow(int nrow)
The row number is mostly meant as a check, the rows must be called in ascending order (not necessarily consecutive)
|
Modifier and Type | Method and Description |
---|---|
protected IImageLineSet<? extends IImageLine> |
PngReader.createLineSet(boolean singleCursor,
int nlines,
int noffset,
int step)
By default this uses the factory (which, by default creates ImageLineInt).
|
IImageLineSet<? extends IImageLine> |
PngReaderApng.readRows() |
IImageLineSet<? extends IImageLine> |
PngReader.readRows()
Reads all rows in a ImageLineSet This is handy, but less memory-efficient (except for interlaced)
|
IImageLineSet<? extends IImageLine> |
PngReaderApng.readRows(int nRows,
int rowOffset,
int rowStep) |
IImageLineSet<? extends IImageLine> |
PngReader.readRows(int nRows,
int rowOffset,
int rowStep)
Reads a subset of rows.
|
Modifier and Type | Method and Description |
---|---|
static int |
ImageLineHelper.getPixelARGB8(IImageLine line,
int column) |
static int |
ImageLineHelper.getPixelRGB8(IImageLine line,
int column)
integer packed R G B only for bitdepth=8! (does not check!)
|
void |
PngWriter.writeRow(IImageLine imgline)
Writes next row, does not check row number.
|
void |
PngWriter.writeRow(IImageLine imgline,
int rownumber) |
Modifier and Type | Method and Description |
---|---|
void |
PngReader.setLineSetFactory(IImageLineSetFactory<? extends IImageLine> factory)
Sets the factory that creates the ImageLine.
|
void |
PngWriter.writeRows(IImageLineSet<? extends IImageLine> imglines)
Writes the full set of row.
|
Copyright © 2014. All rights reserved.