We are about to switch to a new forum software. Until then we have removed the registration on this forum.
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
Where are you running this code? Where is your example MCVE?
each gif is greater than 20mb..
Did you increase the available memory for processing? And do you have them load all at once?
Maybe you can request something like this for the library if speed is an issue: http://processing.org/reference/requestImage_.html
I cant use requestImage and I couldn't get my thread function to set the global vars so I'm trying a different approach