public class TIFFDecoderPackbits extends TIFFDecoder
32773
in the compression tag of an image file directory.| Constructor and Description |
|---|
TIFFDecoderPackbits() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
Decode data from input and write the decompressed pixel data to
the image associated with this decoder.
|
java.lang.Integer[] |
getCompressionTypes()
Returns an array with Integer values of all compression types supported by
this decoder (see the COMPRESSION_xyz constants in
TIFFConstants. |
getBytesPerRow, getCodec, getImageFileDirectory, getInput, getTileIndex, getX1, getX2, getY1, getY2, initialize, putBytes, setCodec, setImageFileDirectory, setTileIndexpublic void decode()
throws InvalidFileStructureException,
java.io.IOException
TIFFDecoderdecode in class TIFFDecoderInvalidFileStructureExceptionjava.io.IOExceptionpublic java.lang.Integer[] getCompressionTypes()
TIFFDecoderTIFFConstants.
Normally, this is only one value, but some compression types got assigned more than one constant
(e.g. deflated).
Also, a decoder could be capable of dealing with more than one type of compression
if the compression types are similar enough to justify that.
However, typically a decoder can only deal with one type of compression.getCompressionTypes in class TIFFDecoder