Gifs in Processing

I'm using the gifAnimation library. However I need a way to load gifs like this

  rain = new Gif(this, "rain.gif");
  rainwinterLeaf = new Gif(this, "rainwinterleaf.gif");
  rainsummerLeaf = new Gif(this, "rainsummerleaf.gif");
  fogwinterLeaf = new Gif(this, "fogwinterleaf.gif");
  fogsummerLeaf = new Gif(this, "fogsummerleaf.gif");
  cloudywinterLeaf = new Gif(this, "cloudywinter.gif");
  cloudysummerLeaf= new Gif(this, "cloudysummer.gif");
  normwinterLeaf = new Gif(this, "dayWinterLeaf.gif");
  normsummerLeaf = new Gif(this,  "daysummerleaf.gif");

without getting out of memory error. I do not have access to the PImages of the Gifs so normal requestImage etc won't work

Answers

Sign In or Register to comment.