Class SEQDecoder

java.lang.Object
org.monte.media.seq.SEQDecoder

public class SEQDecoder extends Object
Author:
Werner Randelshofer
  • Constructor Details

    • SEQDecoder

      public SEQDecoder(InputStream in)
      Creates a decoder for the specified input stream.
    • SEQDecoder

      public SEQDecoder(ImageInputStream in)
      Creates a decoder for the specified image input stream.
  • Method Details

    • produce

      public void produce(SEQMovieTrack track, boolean loadAudio) throws IOException
      Decodes the stream and produces animation frames into the specified movie track.

      This method can only be called once.

      Parameters:
      track - The decoded data is stored in this track.
      loadAudio - Whether to decode audio (currently unused).
      Throws:
      IOException
    • setEnforce8BitColorModel

      public void setEnforce8BitColorModel(boolean b)