PDA

View Full Version : Colors?



Hamcha
09-07-2001, 07:03 AM
When I write a program that displays a picture.. (BMP), some of the colors are not like they were when I made the picture.

Red is displayed as blue, and cyan as yellow etc.

Why is this so? And what can I do about it?

mikael_aronsson
09-07-2001, 08:01 AM
Hi !

You have swapped the red green and blue components, RGB/BGR.

Mikael