Class QTDecompressor
java.lang.Object
com.twelvemonkeys.imageio.plugins.pict.QTDecompressor
- Direct Known Subclasses:
QTBMPDecompressor, QTGenericDecompressor, QTRAWDecompressor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancanDecompress(QuickTime.ImageDesc description) Returns whether this decompressor is capable of decompressing the image data described by the given image description.abstract BufferedImagedecompress(QuickTime.ImageDesc description, InputStream stream) Decompresses an image.
-
Constructor Details
-
QTDecompressor
QTDecompressor()
-
-
Method Details
-
canDecompress
Returns whether this decompressor is capable of decompressing the image data described by the given image description.- Parameters:
description- the image description ('idsc'Atom).- Returns:
trueif this decompressor is capable of decompressing he data in the given image description, otherwisefalse.
-
decompress
public abstract BufferedImage decompress(QuickTime.ImageDesc description, InputStream stream) throws IOException Decompresses an image.- Parameters:
description- the image description ('idsc'Atom).stream- the image data stream- Returns:
- the decompressed image
- Throws:
IOException- if an I/O exception occurs during reading.
-