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

              • ... Jean Abou Samra
              • ... Paolo Prete
              • ... Jean Abou Samra
              • ... Jean Abou Samra
              • ... Luca Fascione
              • ... Jean Abou Samra
              • ... Luca Fascione
              • ... Jean Abou Samra
              • ... Luca Fascione
              • ... Jean Abou Samra
              • ... Jean Abou Samra
              • ... Han-Wen Nienhuys
              • ... Jean Abou Samra
  • Re: Missing items t... Han-Wen Nienhuys
    • Re: Missing it... Jean Abou Samra
      • Re: Missin... Jonas Hahnfeld via Discussions on LilyPond development
        • Re: Mi... Jean Abou Samra
          • Re... Jonas Hahnfeld via Discussions on LilyPond development
            • ... Jean Abou Samra
              • ... Jean Abou Samra
              • ... Jonas Hahnfeld via Discussions on LilyPond development

Reply via email to