View Full Version : Createa a file (BMP, JPG) from a OpenGL view

05-10-2001, 11:46 PM
How I can create a file like a bitmap or jpg using the information of OpenglView

05-11-2001, 01:09 AM
could try using quicktime libraries

05-11-2001, 04:01 AM
or OpenIL, or whatever it's called now...
www.openil.org (http://www.openil.org)

05-11-2001, 05:00 AM
I suggest you to read a documentation about the BMP file format. And then read the chapter about the framebuffer in the red book.

Normally you can copy from the COLOR framebuffer the image and then write it in the correct file format.

05-11-2001, 08:05 AM

05-11-2001, 02:33 PM
Hey Jesus, nice to talk w/ya again today http://www.opengl.org/discussion_boards/ubb/smile.gif

I use Intel's ILJ Jpeg library and I learned to adapt it and use it from the following link :

Good luck!

BTW: Tell God I love him http://www.opengl.org/discussion_boards/ubb/smile.gif