PDA

View Full Version : The JPEGLIB



GL_SH
06-03-2002, 09:54 PM
The question is simple! Where can i find
jpeglib, so i can load textures into my
OpenGL program!!

marcus256
06-03-2002, 11:29 PM
http://www.ijg.org/

tcobbs
06-05-2002, 01:38 PM
You might consider using PNG instead. In addition to the fact that it is a lossless format, it has native alpha channel support, which can be really useful in many texturing situations. The PNG library can be found from here:
http://www.libpng.org/

On the other hand, if you don't need alpha channel support, and your texutures look fine with JPEG compression, the feel free to use JPEG.