APIdia Launch Partner
Top Fields Constructors Methods
com.sun.imageio.plugins.tiff

public Class TIFFDeflateDecompressor

extends TIFFDecompressor
Class Inheritance
Imports
java.io.IOException, java.util.zip.DataFormatException, .Inflater, javax.imageio.IIOException, javax.imageio.plugins.tiff.BaselineTIFFTagSet

Field Summary

Modifier and TypeField and Description
pack-priv Inflater
pack-priv int
Inherited from com.sun.imageio.plugins.tiff.TIFFDecompressor:
activeSrcHeightactiveSrcMinXactiveSrcMinYactiveSrcWidthbitsPerSamplebyteCountcolorConvertercolorMapcompressiondestinationBandsdstHeightdstMinXdstMinYdstWidthdstXOffsetdstYOffsetextraSamplesimagemetadataoffsetphotometricInterpretationplanarplanarBandrawImagereadersampleFormatsamplesPerPixelsourceBandssourceXOffsetsourceYOffsetsrcHeightsrcMinXsrcMinYsrcWidthstreamsubsampleXsubsampleY

Constructor Summary

AccessConstructor and Description
public
TIFFDeflateDecompressor(int predictor)

Method Summary

Modifier and TypeMethod and Description
public synchronized void
decodeRaw(byte[] b, int dstOffset, int bitsPerPixel, int scanlineStride)

Implements abstract com.sun.imageio.plugins.tiff.TIFFDecompressor.decodeRaw.

Decodes the source data into the provided byte array b, starting at the offset given by dstOffset.

Inherited from com.sun.imageio.plugins.tiff.TIFFDecompressor:
beginDecodingcreateComponentCMcreateInterleavedSMcreateRawImagedecodedecodeRawdecodeRawdecodeRawdecodeRawgetRawImageTypegetRawImageTypeSpecifiersetActiveSrcHeightsetActiveSrcMinXsetActiveSrcMinYsetActiveSrcWidthsetBitsPerSamplesetByteCountsetColorConvertersetColorMapsetCompressionsetDestinationBandssetDstHeightsetDstMinXsetDstMinYsetDstWidthsetDstXOffsetsetDstYOffsetsetExtraSamplessetImagesetMetadatasetOffsetsetPhotometricInterpretationsetPlanarsetPlanarBandsetReadersetSampleFormatsetSamplesPerPixelsetSourceBandssetSourceXOffsetsetSourceYOffsetsetSrcHeightsetSrcMinXsetSrcMinYsetSrcWidthsetStreamsetSubsampleXsetSubsampleY

Field Detail

inflaterback to summary
pack-priv Inflater inflater
predictorback to summary
pack-priv int predictor

Constructor Detail

TIFFDeflateDecompressorback to summary
public TIFFDeflateDecompressor(int predictor) throws IIOException

Method Detail

decodeRawback to summary
public synchronized void decodeRaw(byte[] b, int dstOffset, int bitsPerPixel, int scanlineStride) throws IOException

Implements abstract com.sun.imageio.plugins.tiff.TIFFDecompressor.decodeRaw.

Doc from com.sun.imageio.plugins.tiff.TIFFDecompressor.decodeRaw.

Decodes the source data into the provided byte array b, starting at the offset given by dstOffset. Each pixel occupies bitsPerPixel bits, with no padding between pixels. Scanlines are separated by scanlineStride bytes.

Annotations
@Override
Exceptions
IOException:
if an error occurs reading from the source ImageInputStream.