How to Mapping the JPEG image?

OpenGL can use the BMP for mapping. But now I need to use the jpeg to mapping. So please tell me the details about mapping the jpeg image.

Hi !

First of all, OpenGL cannot use BMP files, it cannot use any kind of files, you need some other library or code to load the image into memory, ones you have loaded it into memory OpenGL can use it.

There are lot’s of libraries and code for doing this, check out google, just one example is:


I’ll find them…