Hi,
Closure currently loads GIF files by saving the contents to a temporary file, running gif2png on the file, then slurping in that file. The attached patch (well, it isn't packaged as a proper patch) allows Closure to load GIF files directly, thanks to Zach Beane's Skippy library.
http://www.xach.com/lisp/skippy/
Interlaced GIF files are not currently supported by Skippy (but this should change shortly). Only the last frame of animated GIFs will be displayed (yes, this is a feature).
"ecm" == Eric Marsden eric.marsden@free.fr writes:
ecm> Closure currently loads GIF files by saving the contents to a ecm> temporary file, running gif2png on the file, then slurping in that ecm> file. The attached patch (well, it isn't packaged as a proper patch) ecm> allows Closure to load GIF files directly, thanks to Zach Beane's ecm> Skippy library.
I've now committed this change to Closure, and reorganized the image handling code a little in the process.
I have similar code for loading JPEG images via the cl-jpeg library, but am waiting for a stable home for this library to appear.