Class QTDecompressor

    • Constructor Summary

      Constructors 
      Constructor Description
      QTDecompressor()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean canDecompress​(QuickTime.ImageDesc description)
      Returns whether this decompressor is capable of decompressing the image data described by the given image description.
      abstract java.awt.image.BufferedImage decompress​(QuickTime.ImageDesc description, java.io.InputStream stream)
      Decompresses an image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QTDecompressor

        QTDecompressor()
    • Method Detail

      • canDecompress

        public abstract boolean canDecompress​(QuickTime.ImageDesc description)
        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:
        true if this decompressor is capable of decompressing he data in the given image description, otherwise false.
      • decompress

        public abstract java.awt.image.BufferedImage decompress​(QuickTime.ImageDesc description,
                                                                java.io.InputStream stream)
                                                         throws java.io.IOException
        Decompresses an image.
        Parameters:
        description - the image description ('idsc' Atom).
        stream - the image data stream
        Returns:
        the decompressed image
        Throws:
        java.io.IOException - if an I/O exception occurs during reading.