RGB24 with transparant color?

View: New views
2 Messages — Rating Filter:   Alert me  

RGB24 with transparant color?

by M.C. Deurloo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: RGB24 with transparant color?

by Jonathan Morton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You should convert your image in software to RGBA format.

2009/11/3 M.C. Deurloo <m.c.deurloo@...>
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@...
http://lists.cairographics.org/mailman/listinfo/cairo


_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo