PDA

View Full Version : How to load and save image



anoaja
10-08-2002, 01:19 AM
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.

Gavin
10-08-2002, 02:22 AM
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