Adafruit took the AnimatedGIFs sketch and turned it into an Arcada platform specific library with some nice improvements. I forked their library and made it generic again, adding the original AnimatedGIFs sketch as an example. Right now it just has Teensy and ESP32 SD support.
The library just has (mostly) generic code, platform specific code like FilenameFunctions will go into sketches.
For ESP* SPIFFS, I’d like to add a separate example to keep the FilenameFunctions.* files manageable without a lot of
#ifdefs. Check out the link to AnimatedGIFs_SD that’s credited in the README for some ESP* specific code that got stripped out before Adafruit’s latest library releases.
I thought you’d be interested in migrating your AnimatedGIFs sketch to use the new library to get the improvements and bug fixes. There’s some new stuff you can do with the library, like seek to specific frames of GIFs (see Adafruit’s Arcada crankyGIFs example), pause on a frame, and get data from the GifDecoder class that normally would be private.