lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing items to make Cairo ready


From: Jean Abou Samra
Subject: Re: Missing items to make Cairo ready
Date: Sun, 1 Jan 2023 23:46:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Le 01/01/2023 à 12:36, Jean Abou Samra a écrit :
Le 30/12/2022 à 13:08, Jean Abou Samra a écrit :
which means figuring out how to do PNGs via the default PS
backend and GS.


I looked a bit at this.

It's not insurmountable, *but*, alpha transparency is not going
to work. PNG images with an alpha channel will need to be
converted to plain RGB because PostScript doesn't support
alpha transparency, and while GhostScript does have a little
support for it, it seems the only way to have an image with
variable levels of transparency across the image is to draw
each of the pixels separately.

Does that sound acceptable?

(For completeness: PNG images in the default SVG backend should be
easy.)


Added now, with the caveat above.

As said on the MR, an option would be to disable transparency by default so that the default config renders the same on all backends, and make the config with transparency enabled warn if the PS backend is used.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]