[cairo] Re: pycairo: bug: surface_create_for_pixbuf swaps colors
stevech1097 at yahoo.com.au
Wed Aug 10 08:48:15 PDT 2005
On Mon, 2005-08-08 at 20:59 -0700, Bertram Felgenhauer wrote:
> (this is based on an discussion on IRC)
> surface_create_for_pixbuf() assumes that gdk's and cairo's
> layout for images are compatible. This is, in fact, not the
> On little endian machines, the red and green will be swapped.
> On big endian machines, the alpha channels and color
> will be mixed up more badly.
> The function seems pretty useless as is, could it be removed?
I've just removed it.
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the cairo