Click to See Complete Forum and Search --> : Library for creating animated gifs?


ihuck
June 5th, 2006, 02:59 PM
Hi,

Does anybody know where I can find a C/C++ library to create animated gifs? I'm looking for a (hopefully) cross-platform windows/linux library that I can hook into a C++ application. Preferably open-source, but I would pay a few $s if necessary.
Any suggestions?

Thanks!

Ken

nolxev
June 6th, 2006, 09:27 AM
If your target is load, save and display them, you can find a lot of code sample around the web, I found code sample at codeguru/codeproject times ago.

ovidiucucu
June 6th, 2006, 10:51 AM
I don't think you can find any (open source or not) library for creating animated GIFs, ready just to be glued in your application.
However, you can find libraries for reading/writing GIFs, then have to sweat a little to make a "GIF animator" (search "giflib" for example).
But...
I would pay a few $s
... or more because GIF uses LZW compression which is not free:
See LZW Legal Issues (http://www.fileformat.info/mirror/egff/ch09_04.htm#CH-09-LZW-LEGAL). ;)

DHillard
June 6th, 2006, 11:08 AM
The patent on LZW has expired. As I understand it, it's okay to implement now.

Note - Don't take legal advice from me.

nolxev
June 6th, 2006, 04:06 PM
LZW was not free and now has expired, I never heard that matter. Is it a matter of the last years?