public interface IImageLine
The methods from this interface provides translation from/to PNG raw unfiltered pixel data, for each image line. This doesn't make any assumptions of underlying storage.
The user of this library will not normally use this methods, but instead will cast to a more concrete implementation,
as ImageLineInt
or ImageLineByte
with its methods for accessing the pixel values.
Modifier and Type | Method and Description |
---|---|
void |
endReadFromPngRaw()
This is called when the read for the line has been completed (eg for interlaced).
|
void |
readFromPngRaw(byte[] raw,
int len,
int offset,
int step)
Extract pixels from a raw unlfilterd PNG row.
|
void |
writeToPngRaw(byte[] raw)
Writes the line to a PNG raw byte array, in the unfiltered PNG format Notice that the first byte is the filter
type, you should write it only if you know it.
|
void readFromPngRaw(byte[] raw, int len, int offset, int step)
void endReadFromPngRaw()
void writeToPngRaw(byte[] raw)
Copyright © 2014. All rights reserved.