Page 1 of 1
Differences between Image Codec
Posted: Thu Apr 02, 2009 13:21
by mrGREEN
I was wondering, which are the main differences between all 5 Image Codec available for CEGUI. Which one is "better" and why there are 5 Image Codec supported.
Posted: Thu Apr 02, 2009 15:01
by Jamarr
I'm not sure what all of the image codes are the CEGUI supports, and since the only one I've ever used is SILLY I cannot comment on efficiency or functionality of each library. This is basically what I've gone by
corona: last update 2003
DevIL: LGPL
FreeImage: GPL
Silly: MIT-style
I try to vere away from forgotten projects, and I despise the GPL/LGPL licenses, thus I choose to go with Silly; and the libs it uses jpeg6b, libpng, and zlib are also all MIT-ish (only require acknowledgement+copy of license).
Posted: Thu Apr 02, 2009 18:51
by CrazyEddie
I think one of the main reasons we supply all those options is to offer a choice of popular libraries. Many people may have already chosen a library to use, so by providing the popular choices, we have a good chance of having a codec that uses the already chosen lib. There's also the issue of licensing as Jamarr mentioned, and it also gives a good set of examples for anyone wanting to roll their own image loading codec for CEGUI.
CE.