public class ImageLineBufferedImage extends Object implements IImageLine
| Constructor and Description |
|---|
ImageLineBufferedImage(ImageInfo imgInfo,
BufferedImage bi,
byte[] bytesdata) |
| Modifier and Type | Method and Description |
|---|---|
void |
endReadFromPngRaw()
This is called when the read for the line has been completed (eg for interlaced).
|
static IImageLineFactory<ImageLineByte> |
getFactory(ImageInfo iminfo) |
int |
getRowNumber() |
void |
readFromPngRaw(byte[] raw,
int len,
int offset,
int step)
Extract pixels from a raw unlfilterd PNG row.
|
void |
setRowNumber(int rowNumber) |
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.
|
public final ImageInfo imgInfo
public ImageLineBufferedImage(ImageInfo imgInfo, BufferedImage bi, byte[] bytesdata)
public static IImageLineFactory<ImageLineByte> getFactory(ImageInfo iminfo)
public void readFromPngRaw(byte[] raw,
int len,
int offset,
int step)
IImageLinereadFromPngRaw in interface IImageLinepublic void writeToPngRaw(byte[] raw)
IImageLinewriteToPngRaw in interface IImageLinepublic void endReadFromPngRaw()
IImageLineendReadFromPngRaw in interface IImageLinepublic int getRowNumber()
public void setRowNumber(int rowNumber)
Copyright © 2014. All rights reserved.