How to load and save image

Dear everyone,

I’m new in openGL. Now I have a simple but important problem: How to load an image and how to save the result as an image.

Could anyone give me some suggestion? I really appreciate your help.

use an image library i.e. quicktime, jpeg lib, or make your own bmp/tga/pgm. Either use drawpixels or texture map your image. Use readpixels to readthe pixels before saving