• Advertisement
Sign in to follow this  

Best open source/free texture/image loader library

This topic is 4274 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

There are a lot of open source texture/image libraries. I'd like to select one in my game. Here are the basic requirements: 1. Free ( can be used in commercial product ) 2. Support image loading/saving for jpg,png,bmp 3. Support loading image from memory 4. Support image resizing 5. Cross platform supports such as Windows, Linux and Mac OX (optional) I know a few of this kind of libraries such as corona, FreeImage, DevIL, ImageMagic. Can anyone advise which one is the best for me? Thanks

Share this post


Link to post
Share on other sites
Advertisement
I use DevIL and would recommend it. Pretty easy to use, although the provided tutorials could be better.

Share this post


Link to post
Share on other sites
I also recommend DevIL. I use it myself and it is really nice. It has pretty simple syntax (looks a lot like OpenGL), works on Mac, Windows, Linux/Unix. Supports lots of image formats (including export).
It is also able to load images from memory and contains library of various effects (resize, rotate, emboss...).
It is licensed under LGPL, so it should be OK to use it in commercial project.

Share this post


Link to post
Share on other sites
I tried to compile DevIL 1.68 RC1 by using gcc/Mingw32 from Codeblocks. The result is ... error. The error message is:

C:/Program Files/CodeBlocks/include/jmorecfg.h:161: error: conflicting types for 'INT32'
C:/Program Files/CodeBlocks/include/basetsd.h:52: error: previous declaration of 'INT32' was here

Could anybody help?

Share this post


Link to post
Share on other sites
By the way, I'm trying corona also. It works for my testing and it's simple to use. But the document is not so complete. My question is whether corona support image resize and loading from memory?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement