Bitmap Writing

Started by
1 comment, last by Acklar 23 years, 5 months ago
I''ve been trying to save openGL generated images to bitmap files. I''ve played with several methods, but none seem to work so far. Can anyone help explain or where to look to learn how to write to bitmap files in openGL programs? Thanks, Acklar
Advertisement
Here is my idea: In windows, you can simulate a keypress of "PrtScrn" (Print Screen) which places what''s on the screen in the windows clipboard. Once you simulate that keypress, you can use the functions that support operations for working with the clipboard. That way you can get the information from the clipboard, and save it in a file.

Hope this helps!

-------------------------------
"Mind your own damn business!!!" - Gladiator

..-=gLaDiAtOr=-..
Ahhh, if it were only that easy. Have you ever tried to copy the screen using print screen while in an openGL program? The openGL image does not appear correctly, its just garbage that you get, thanks for the time, but that doesn''t work.

Acklar

This topic is closed to new replies.

Advertisement