Class Animator


public class Animator extends Object
A class for creating GIF animations from a sequence of still images. The images are sequenced into a GIF file, using a specified delay between frames. The animation is set to loop continually. The input images are assumed to be of the same size. No other processing of the input files (shifting, morphing) is attempted.
  • Constructor Details

    • Animator

      public Animator(String output, double delay, int loopCount, String[] inputs)
      This method will create a gif animation from a set of image files.
      output - The name of the output file.
      delay - The delay between frames, in seconds
      loopCount - The number of times to loop. A value of 0 means to loop continuously.
      inputs - The set of files to compose into the animation
  • Method Details

    • main

      public static void main(String[] args)