Re: BUG: CAIRO_FORMAT_ARGB32, image_surface transparency = CAIRO_IMAGE_IS_OPAQUE after write_png()

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Tue, 7 Jun 2016 08:19:47 +0930, Adrian Johnson wrote:

> Cairo analyses image transparency to ensure it uses the most
> efficient format when writing out images to
> PNG, PDF, and PS.

I don’t mind PDF and PostScript, they’re quite complicated formats. But
I thought the PNG reading/writing capability built into Cairo was
supposed to be, and I quote, “a toy API”
<https://www.cairographics.org/manual/cairo-PNG-Support.html>.

Optimizing out the alpha channel would have to count as an “advanced”
feature, not a “toy” one, I would have thought.
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.