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

public Class TIFFPackBitsDecompressor

extends TIFFDecompressor
Class Inheritance
Imports
java.io.IOException, com.sun.imageio.plugins.common.ReaderUtil

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
decode(byte[] srcData, int srcOffset, byte[] dstData, int dstOffset)

public 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

Constructor Detail

TIFFPackBitsDecompressorback to summary
public TIFFPackBitsDecompressor()

Method Detail

decodeback to summary
public int decode(byte[] srcData, int srcOffset, byte[] dstData, int dstOffset) throws IOException
decodeRawback to summary
public 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.