Class QuickTime

java.lang.Object
com.twelvemonkeys.imageio.plugins.pict.QuickTime

final class QuickTime extends Object
QuickTime
Version:
$Id: QT.java,v 1.0 Feb 16, 2009 7:20:59 PM haraldk Exp$
  • Field Details

  • Constructor Details

    • QuickTime

      QuickTime()
  • Method Details

    • getDecompressor

      private static QTDecompressor getDecompressor(QuickTime.ImageDesc description)
      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, or null if no decompressor is found
    • decompress

      public static BufferedImage decompress(ImageInputStream stream) throws IOException
      Decompresses the QuickTime image data from the given stream.
      Parameters:
      stream - the image input stream
      Returns:
      a BufferedImage containing the image data, or null if no decompressor is capable of decompressing the image.
      Throws:
      IOException - if an I/O exception occurs during read