Class QuickTime
java.lang.Object
com.twelvemonkeys.imageio.plugins.pict.QuickTime
QuickTime
- Version:
- $Id: QT.java,v 1.0 Feb 16, 2009 7:20:59 PM haraldk Exp$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
Class representing the'idsc'
QuickTime Atom. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List
<QTDecompressor> (package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
decompress
(ImageInputStream stream) Decompresses the QuickTime image data from the given stream.private static QTDecompressor
getDecompressor
(QuickTime.ImageDesc description) Gets a decompressor that can decompress the described data.
-
Field Details
-
VENDOR_APPLE
- See Also:
-
sDecompressors
-
-
Constructor Details
-
QuickTime
QuickTime()
-
-
Method Details
-
getDecompressor
Gets a decompressor that can decompress the described data.- Parameters:
description
- the image description ('idsc'
Atom).- Returns:
- a decompressor that can decompress data decribed by the given
description
, ornull
if no decompressor is found
-
decompress
Decompresses the QuickTime image data from the given stream.- Parameters:
stream
- the image input stream- Returns:
- a
BufferedImage
containing the image data, ornull
if no decompressor is capable of decompressing the image. - Throws:
IOException
- if an I/O exception occurs during read
-