/* * creates a GifDecoder object and loads a gif file */ private static GifDecoder createDecoder(PApplet parent, String filename) { GifDecoder gifDecoder = new GifDecoder(); gifDecoder.read(createInputStream(parent, filename)); return gifDecoder; }