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

public Class TIFFOldJPEGDecompressor

extends TIFFJPEGDecompressor
Class Inheritance
Imports
java.io.IOException, .ByteArrayInputStream, .ByteArrayOutputStream, javax.imageio.IIOException, javax.imageio.stream.MemoryCacheImageInputStream, .ImageInputStream, javax.imageio.plugins.tiff.BaselineTIFFTagSet, .TIFFField

TIFFDecompressor for "Old JPEG" compression.

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final int
private boolean
private Long
private static final int
private int
private static final int
private byte[]
private int
private int
Inherited from com.sun.imageio.plugins.tiff.TIFFJPEGDecompressor:
EOIhasJPEGTablesJPEGParamJPEGReaderSOItables

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides com.sun.imageio.plugins.tiff.TIFFJPEGDecompressor.decodeRaw.

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

private synchronized void
Inherited from com.sun.imageio.plugins.tiff.TIFFJPEGDecompressor:
beginDecoding

Field Detail

DHTback to summary
private static final int DHT
DQTback to summary
private static final int DQT
DRIback to summary
private static final int DRI
isInitializedback to summary
private boolean isInitialized
JPEGStreamOffsetback to summary
private Long JPEGStreamOffset
SOF0back to summary
private static final int SOF0
SOFPositionback to summary
private int SOFPosition
SOSback to summary
private static final int SOS
SOSMarkerback to summary
private byte[] SOSMarker
subsamplingXback to summary
private int subsamplingX
subsamplingYback to summary
private int subsamplingY

Constructor Detail

TIFFOldJPEGDecompressorback to summary
public TIFFOldJPEGDecompressor()

Method Detail

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

Overrides com.sun.imageio.plugins.tiff.TIFFJPEGDecompressor.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.
initializeback to summary
private synchronized void initialize() throws IOException