• Advertisement

Archived

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

lamothes code and loading bitmaps

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

Hey area there alot of other people having problems with lamothes code? I try and laod a bit map which works I then try and flip it which Im not sure if it works then I try and copy it to a surface and display it which doesnt work can someone help me out?

Share this post


Link to post
Share on other sites
Advertisement
What resolution are you using? What''s the bit depth of the bitmap?
Sorry for jumping on your like that but It''s hard to know what the problem is without more info



- Goblineye Entertainment
The road to success is always under construction

Share this post


Link to post
Share on other sites
OoMMMoO >> I built my image class on his loading function and I found some problems. The functions he uses don''t take concideration to the fact that bmp files are DWORD aligned. So i for example 24-bit the width of the image must be a multiple of 8 (or maybe 4, don''t remember).

I haven''t found much else but you might wanna try using our code with some bmp files that are for example 32x32 pixles and see how it work.

Share this post


Link to post
Share on other sites

  • Advertisement