• Advertisement

Archived

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

How to code a bitmap?

This topic is 6629 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

I have some code that can read a 24bit bitmap into a buffer, and then save it in a 32 bit per fixel file format, then read it again from there. when i get home I'll mail it to you.
NOTE: has no compression watsoever, did it just so I could store alpha channel info, then realised DDraw doesn't support alpha channel... bummer!

Share this post


Link to post
Share on other sites
Advertisement
Thanks for your code example! It seems really helpful.

But what datatype is Cor? A struct?

Share this post


Link to post
Share on other sites
Sorry, forgot I dindn't send you my typedefs.
Cor in Portuguese means colour, it's just a _int32 (dword).

Share this post


Link to post
Share on other sites
I don´t want that anybody can look at my terrific pictures, so can anyone tell me how to save the pictures in a diffrent format, and then open them.

------------------
Gandalf the White

Share this post


Link to post
Share on other sites

  • Advertisement