| 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 |
| Modifier and Type | Method and Description |
|---|---|
IImageLine |
PngReader.readRow()
Reads next row.
|
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> |
PngReader.readRows()
Reads all rows in a ImageLineSet This is handy, but less memory-efficient
(except for interlaced)
|
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 © 2013. All rights reserved.