GIF saver code for SDL?

Does anyone have anything like that, or know about some nice library?
(Preferably LGPL, BSD, MIT/X11 or similar.)

I’m looking at the GIF save plugin in GIMP, but it looks like some
hacking…

I need to generate a bunch of properly compressed and colorkeyed GIFs
from scripts (EEL) that use SDL for graphics - but if there’s no
nice, simple solution, I can get away with writing PNGs or even
colorkeyed BMPs, and have the scripts use ImageMagick for conversion.

//David Olofson - Programmer, Composer, Open Source Advocate

.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
’-- http://www.reologica.se - Rheology instrumentation --’

David Olofson a ?crit :

Does anyone have anything like that, or know about some nice library?
(Preferably LGPL, BSD, MIT/X11 or similar.)

Years ago, I used GIFSave, a Gif 87 save in C, it can be download here
http://www.scintilla.utwente.nl/~frank/
It’s easy to use and don’t require extra libs–
Michael Bonfils ( http://www.murlock.org )
membre de http://www.guses.org

David Olofson a ?crit :

Does anyone have anything like that, or know about some nice
library?

(Preferably LGPL, BSD, MIT/X11 or similar.)

Years ago, I used GIFSave, a Gif 87 save in C, it can be download
here http://www.scintilla.utwente.nl/~frank/
It’s easy to use and don’t require extra libs

Looks small, nice and handy, and it’s in the public domain, but
unfortunately, it doesn’t handle GIF89, and I really need the
transparency. (It doesn’t seem like a major project adding that,
though…)

Anyway, GIFSave served as a great starting point for searching. There
are several versions derived from this one, including java
translations and whatnot, and they all support GIF89. Here’s one
that’ll probably do the job:
http://www.users.on.net/~rsobon/src/gd_SaveGIF.c

Thanks!

//David Olofson - Programmer, Composer, Open Source Advocate

.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
’-- http://www.reologica.se - Rheology instrumentation --'On Friday 26 January 2007 09:41, Michael Bonfils wrote: