Skip to main content
gamedev.net
🔒 Locked

Bitmap Writing

Started by Acklar 1 reply 250+ views
Original Post
Acklar
Acklar
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
Gladiator
Gladiator
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=-..
Acklar
Acklar
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.