[cairo] ARGB, BGRA, RGBA mess

MenTaLguY mental at rydia.net
Thu Jan 13 11:22:32 PST 2005


On Thu, 13 Jan 2005, Bill Spitzak wrote:

> I would agree that, from looking at many image library specifications,
> the term "ABCD" means that A is at a lower memory address than B in the
> virtually every single one of them. Only X has the idea that ABCD means
> A is in the high-order byte of a word.

Seconded... I'm not from an X background, so it was rather confusing and
frustrating to discover that ARGB really meant what I thought of as BGRA.

It never occurred to me that it might be endian-dependent either...

-mental



More information about the cairo mailing list