how to map texture jpeg or bmp file ?

i’ve got an jpeg file and i do need to map it into a texture on objects!!!

how to do?

libjpeg ?

did you ever heard something about FAQ’s ???
http://www.opengl.org/developers/faqs/technical.html#indx0210