[cairo] RGB24 with transparant color?

Jonathan Morton jonathan.morton at movial.com
Tue Nov 3 03:22:28 PST 2009

You should convert your image in software to RGBA format.

2009/11/3 M.C. Deurloo <m.c.deurloo at mail.com>

> Hi,
> I am porting an application from GD to Cairo. I am using the perl-binding
> for Cairo.
> For some special use-case of the application (PNG used in a PDF generator)
> I need PNG's with transparency in the PNG24-format (or PNG-8?), not in the
> RGBA format (no transparancy in the alpha channels, but a single transparent
> color). Can anyone point me in the right direction for solving this? My
> PNG24 surface ends up with an all black background instead of a transparent
> one.
> Thanks,
> Marijn
> --
> Be Yourself @ mail.com
> Choose From 200+ Email Addresses
> Get a *Free* Account at www.mail.com!
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20091103/5e1c7ca9/attachment.html 

More information about the cairo mailing list