public class G32DDecoder extends G31DDecoder implements ImageDecoder
bitOffset, byteOffset, destByteOffset, input, len, rowsPerStrip, scanLineWidth, totalRunLen, uncompressedBytes
Constructor and Description |
---|
G32DDecoder(byte[] input,
int scanLineWidth,
int rowsPerStrip) |
G32DDecoder(byte[] input,
int scanLineWidth,
int rowsPerStrip,
boolean is1DEncoding) |
G32DDecoder(int scanLineWidth,
int rowsPerStrip) |
G32DDecoder(int scanLineWidth,
int rowsPerStrip,
boolean is1DEncoding) |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] pix,
int offset,
int len) |
outputRunLen, setInput, setInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setInput, setInput
public G32DDecoder(int scanLineWidth, int rowsPerStrip)
public G32DDecoder(int scanLineWidth, int rowsPerStrip, boolean is1DEncoding)
public G32DDecoder(byte[] input, int scanLineWidth, int rowsPerStrip)
public G32DDecoder(byte[] input, int scanLineWidth, int rowsPerStrip, boolean is1DEncoding)
public int decode(byte[] pix, int offset, int len) throws java.lang.Exception
decode
in interface ImageDecoder
decode
in class G31DDecoder
pix
- buffer to put decoded dataoffset
- offset to start put decoded datalen
- the maximum number of uncompressed bytesjava.lang.Exception