public class XTIFFFaxTileCodec extends XTIFFTileCodecImpl
_bdata, _sdata, bitsPerSample, bpixvals, buffer, colormap, compression, dataType, decodePaletteAsShorts, decodeParam, directory, encodeParam, image, image_type, isTiled, length, minX, minY, numBands, sampleModel, sampleSize, spixvals, tileLength, tileWidth, unitsInThisTile, width
Constructor and Description |
---|
XTIFFFaxTileCodec()
Public constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
canEncode()
Indicate whether this codec can encode data.
|
XTIFFTileCodec |
create()
Creation method
|
void |
decodeTilePixels(byte[] input,
java.awt.Rectangle newRect,
byte[] bdata)
Decode a rectangle of pixels
|
void |
decodeTilePixels(byte[] input,
java.awt.Rectangle newRect,
short[] sdata)
Decode a rectangle of pixels
|
void |
initializeDecoding()
The initialization method particular to Fax decoding.
|
void |
register()
Registration method
|
create, create, decode, decodeColor, decodeColor, decodeColor, decodeColor, decodeTilePixels, encode, encodeTilePixels, getCompressedTileSize, getCompression, getLongField, getTilePixels, initialize, initialize, initialize, initializeEncoding, register, setTilePixels, setupBufferForDecoding, setupBufferForEncoding, setupSourceImage, unpackShorts
public XTIFFTileCodec create()
create
in class XTIFFTileCodecImpl
public boolean canEncode()
XTIFFTileCodecImpl
canEncode
in class XTIFFTileCodecImpl
public void register()
register
in interface XTIFFTileCodec
register
in class XTIFFTileCodecImpl
XTIFFDirectory
public void initializeDecoding()
initializeDecoding
in class XTIFFTileCodecImpl
public void decodeTilePixels(byte[] input, java.awt.Rectangle newRect, byte[] bdata)
decodeTilePixels
in class XTIFFTileCodecImpl
input
- the byte array of compressed input datanewRect
- the rectangular shape of the target pixelsbdata
- the target decompressed pixels.public void decodeTilePixels(byte[] input, java.awt.Rectangle newRect, short[] sdata)
decodeTilePixels
in class XTIFFTileCodecImpl
input
- the byte array of compressed input datanewRect
- the rectangular shape of the target pixelssdata
- the target decompressed pixels.