|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScanlineProvider
The bridge between images and PNG scanlines
Method Summary | |
---|---|
byte |
getBitDepth()
The bit depth of this image, 1, 2, 4, 8 or 16 |
int |
getHeight()
Image height |
IndexColorModel |
getPalette()
Returns the palette for this image, or null if the image does not have one |
int |
getScanlineLength()
The number of byte[] elements in the scaline |
int |
getWidth()
Image width |
void |
next(byte[] scaline,
int offset,
int length)
The next scanline, or throws an exception if we got past the end of the image |
Methods inherited from interface ar.com.hjg.pngj.IImageLine |
---|
endReadFromPngRaw, readFromPngRaw, writeToPngRaw |
Method Detail |
---|
int getWidth()
int getHeight()
byte getBitDepth()
int getScanlineLength()
void next(byte[] scaline, int offset, int length)
IndexColorModel getPalette()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |