Archived

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

OoMMMoO

lamothes code and loading bitmaps

Recommended Posts

OoMMMoO    122
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
goir    122
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