I’d like to introduce ofxGifImage, it’s an update of the older Gif addons which were kicking around, namely ofxGifDecoder/ofxGifEncoder and ofxGif. These older addons had lots of bugs and didn’t play the majority of gifs from the internet. I’m sure mine’s not perfect, there’s still some file size optimisation to be done and there might be some bugs still, particularly across platforms, but give it a try, it’s loads of fun! I’ve added a camera example in there so you can start making ridiculous gifs immediately.
Just announcing that ofxGifImage has received a couple of updates recently, namely a memory leak on load was fixed and now it’s possible to load GIFs in a background thread.
Additionally there’s new functionality to load GIFs directly from a URL, although this is not threaded currently.
A new example to showcase threaded loading has been added. It’s much the same as the threadedImageLoader addon.
Previous animated GIF loading addons didn’t work with all files, but this one does, it will load anything.