[cairo] About CAIRO API

lixuanzhao lixuanzhao at dascom.cn
Thu Mar 10 02:03:32 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/20220310/bddba03d/attachment.htm>


More information about the cairo mailing list