[cairo] RGB24 with transparant color?

M.C. Deurloo m.c.deurloo at mail.com
Tue Nov 3 02:22:45 PST 2009


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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20091103/07eaf47d/attachment.html 


More information about the cairo mailing list