Bitmap coming out scrambled...

Started by
2 comments, last by Viri- 23 years, 5 months ago
My bitmap is coming out scrambled now that I have it loading and basicly working. To see what it is doing check out: http://revolution.valveworld.com/scramblednew.jpg only it comes out in red on the screen. The image is supposed to look like: http://revolution.valveworld.com/aship.jpg and is an 8bit bmp file. Why is it doing this? Thanks, Viri-
------------thanks,Phoenix
Advertisement
its probably you''re bitmap loading code, you might want to post it here..
unless its a problem with the bitmap.. like a weird size that the loader doesn''t like.. i had that problem once..
quote:Original post by Quantum

its probably you''re bitmap loading code, you might want to post it here..
unless its a problem with the bitmap.. like a weird size that the loader doesn''t like.. i had that problem once..


well my loading code has been redone many times over through out the posts. But its @ http://revolution.valveworld.com/izzy.cpp
also the original image: http://revolution.valveworld.com/aship.bmp

Thanks,
Viri-
------------thanks,Phoenix
hmmmm.... is the bitmap and the app both using the same amount of colours?
make sure one isn''t in 8bit and the other in 16 or 24 or whatever..

This topic is closed to new replies.

Advertisement