Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

McBain231

Creating bitmap from array of bytes

This topic is 5934 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hallo, I used the function GetDIBits to retrieve the bits of a bitmap and copy them into a buffer. I was wondering if anyone knew how to convert those bits back into a bitmap? The reason why I ask this is because I am developing a program in which it connects to another computer and the computer sends an image of its desktop back to the client. Its actually more like a PC Anywhere type of program. Any help will be great, thanks.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Read up on the bitmap file structure, and then pump the bits back into the byte* data part.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!