On Thu, Aug 12, 2010 at 4:54 AM, Georgij Kirichenko kirichenkoga@gmail.com wrote:
This patch add support for decoding Dds, Ppm(and pgm, pbm) and Tga files th Windows Imaging Component.
Each format you are adding requires its own patch.
This patch use dynamic linked FreeImage library, but i'am can't static link this library.
First of all, I'm not so sure we want to use FreeImage. The initial thing about which I'm not sure is the license. You can use it under either a commercial license or under the GPL. The last one at least is usable for us as it would make all of Wine GPL when you link to it. I'm not sure about the 'free image public license terms'. It is not something like a BSD license, but more complicated. Someone would have to look at it whether that would even be usable (commercial versions like Crossover would have issues).
From what I remember TGA, and the PPM family are at least easy (not
sure about DDS though, but I believe it is easy as well). If there are good standalone libs like libjpeg, libpng and friends for such libraries which are either BSD or LGPL licensed (or something similar that would be fine). We might also want to do them ourselves if we wanted (and they are relatively trivial).
Lets wait for what others are saying.
Roderick