The How To Load a Bitmap article

Recommended Posts

It says the colour entries are BGR. Does this apply only to images with a pallette?
********
I am not the Iraqi information minister.
GSACP : GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!

0

Share this post

Link to post

Share on other sites

Nope, its for all colors. Since the first 256 stand for red, they are on the right when you thread them as a decimal number the next part is green (256) and the last is blue (another 256). SInce blue comes last, its the left-most part of the number...