Documentation of 'kcl.waterloo.deploy.gif.GifSequenceWriter' Java class
GifSequenceWriter
kcl.waterloo.deploy.gif

Class GifSequenceWriter

  • Direct Known Subclasses:
    GJGifSequencer


    public class GifSequenceWriter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      GifSequenceWriter(javax.imageio.stream.ImageOutputStream outputStream, int timeBetweenFramesMS, boolean loopContinuously)
      Creates a new GifSequenceWriter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Close this GifSequenceWriter object.
      void writeToSequence(java.awt.image.RenderedImage img) 
      • Methods inherited from class java.lang.Object

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

      • GifSequenceWriter

        public GifSequenceWriter(javax.imageio.stream.ImageOutputStream outputStream,
                                 int timeBetweenFramesMS,
                                 boolean loopContinuously)
                          throws java.io.IOException
        Creates a new GifSequenceWriter
        Parameters:
        outputStream - the ImageOutputStream to be written to
        timeBetweenFramesMS - the time between frames in milliseconds
        loopContinuously - wether the gif should loop repeatedly
        Throws:
        javax.imageio.IIOException - if no gif ImageWriters are found
        java.io.IOException
    • Method Detail

      • writeToSequence

        public void writeToSequence(java.awt.image.RenderedImage img)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Close this GifSequenceWriter object. This does not close the underlying stream, just finishes off the GIF.
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.