[Cairo] Cairo and 1bpp Bitmaps

Christof Petig christof at petig-baender.de
Thu Nov 13 00:34:14 PST 2003

Krieg Andreas schrieb:
> I attached the resulting image...it looks not very good. 

this is a bit order issue. Most likely FreeImage and Cairo do not agree 
whether the 0th or the 7th bit is the leftmost. [perhaps FreeImage has a 
flag to indicate so]

> If I clear the 
> image with the cairo_fill, the hole image will be black....

I would expect to need to set the fill color to white first.


More information about the cairo mailing list