I’m posting in the advanced forum in hopes that some of the more senior members can offer some suggestions based upon experience.
Anyway, I’m looking for an imaging library to read various file formats from disk with the explicit purpose of creating OpenGL textures. Performance of the library will be an issue. I absolutely must have support for the following formats:
- SGI
- TGA
- BMP
- DDS (DDS1 and DDS3)
- JPG
- TIF (not GeoTIFF, just plain old TIF)
It would be helpful if the library supported other formats such as PNG, GIF, PCX, etc, but not necessary.
Some of the formats I already have code for (TGA, BMP, some DDS, and SGI) but what I don’t have is a unified library with a single coherent interface. If I had more time I’d clean up what I already have and start a library off my existing code base, but I’m short of time.
I had considered using DevIL, but it’s LGPL and the app I’m working on is closed source. The company (their legal dept. actually) I’m working with has concerns with the LGPL and won’t allow me to use DevIL.
I’m willing to pay for a library, that’s no problem. I just don’t want to end up with something that I’ll regret later.
Please, I don’t want this thread to turn into a LGPL debate, just looking for a good library with a BSD style license or something I can buy off the shelf.
I found FreeImage, http://freeimage.sourceforge.net any comments?
Suggestions?