BGR instead of RGB?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

b.e.wilson
Posts: 26
Joined: Wed Mar 09, 2005 7:44 pm

BGR instead of RGB?

Post by b.e.wilson »

I just noticed, while working on specific colors in an image, that the OLE-COLOR format is BGR, not RGB!

Test this with GetColorAt if you want to confirm it.

Is this because of GFLAx, WIndows, or my particular setup?
User avatar
xnview
Author of XnView
Posts: 44920
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: BGR instead of RGB?

Post by xnview »

b.e.wilson wrote:I just noticed, while working on specific colors in an image, that the OLE-COLOR format is BGR, not RGB!

Test this with GetColorAt if you want to confirm it.

Is this because of GFLAx, WIndows, or my particular setup?
OLE color are like windows in BGR
Pierre.