textures mapping is wrong...

hi everyone

I did textures mapping Image.
but, The color of image was wrong.
what’s the matter?
I need your help your advice.
thank you.

Are you using your own image loading code?
Are you passing the correct encoding when you upload the texture to the hardware?

E.g. if you load a BMP file as RGB and then upload it you may into a little problem: BMP stores the bytes in the order BGR. In other words: red and blue are swapped.

can you please post your code?
there are too many cases in which this problem occurs.