Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Save 24 or 32 bit bitmap

Author
Message
ZKAT8IT
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location:
Posted: 15th Mar 2004 20:21
Yes, I know this is i think the 3rd save bitmap command for DBP but i couldnt get VanB's or Ravens to work so i wrote one of my own. This one will save the contents of the screen to a readable windows bitmap file and you can even specify what bit depth to save the bitmap in, 24 bit or 32 bit. If the colors dont come out properly in the saved bitmap file its possibly because your running windows in 16bit mode. All you specify is the Filename ex. "screenshot.bmp", what filenumber to open for writing, and the bit depth of the bmp, 24 or 32. It uses memblock 1 and bitmap 1, but you can change that to use others if needed.

Login to post a reply

Server time is: 2024-05-11 12:24:10
Your offset time is: 2024-05-11 12:24:10