PDA

View Full Version : Image



deviputhran
11-30-2006, 04:44 AM
Can somebody tell me how to load GIF/JPEG images in to an OpenGL program which will be used as a background?

k_szczech
11-30-2006, 05:07 AM
http://freeimage.sourceforge.net/

darkrappey
12-02-2006, 11:52 PM
I use SDL and SDL_image

libsdl.org

Not sure if it is better or worse for your case, but just saying,

k_szczech
12-03-2006, 08:07 AM
Yes, I also thought of recommending SDL. It's very easy to use.
FreeImage is definitely a lot better but if you just want to load image from file then SDL image will do.