[cairo] About CAIRO API

lixuanzhao lixuanzhao at dascom.cn
Fri Mar 11 03:34:03 UTC 2022


Cairo:
hello,
I have a question and hope to receive it. 
It is found that there is a function  
cairo_public cairo_surface_t *
cairo_image_surface_create_from_png (const char *filename);
 If the read PNG background color is non transparent, the read data is 0xff.
 Can this function only read the data of transparent background color?
 I hope to get a reply and answer. Thank you.




lixuanzhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20220311/f031305e/attachment.htm>


More information about the cairo mailing list