Jump to content
  • Advertisement


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


weird BMP loading problem

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

im making a simple sprite file format by making a header (which is only 8 bytes by the way, two ints ), then placing all the bitmaps in a row in the file....now when i extract the file from the sprite file im cheating for the moment by writing it back to a temporary bitmap then loading it to an HBITMAP with the win32 function LoadImage () (then blitting it to a surface blah blah blah). It fails to load the temporary bitmap but pbrush opens it fine. I noticed that the temp bitmap is slightly bigger (about 10 - 40 bytes) than the original (remember it opens fine in paint). Any ideas? ----------------------------- -cow_in_the_well ''When in doubt, empty your magazine.'' - Murphy''s Combat Law

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!