Loading a JPEG image in OpenGl

I have a .rpc file that contains data about the image and also a JPEG image. I am trying to display and then manipulate the image using OpenGL through Microsoft Visual C++. How can I do this?

for the jpeg I would use the intel jpg library just go to www.intel.com and search for jpeg