[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing items to make Cairo ready
From: |
Luca Fascione |
Subject: |
Re: Missing items to make Cairo ready |
Date: |
Sun, 1 Jan 2023 19:30:36 +0100 |
What if you use GS to do PS to PDF instead and embed that? Would Cairo let
you?
(For the PDF backend I mean)
Also, how does ImageMagick implement PS to PNG conversion? I wonder if
their approach might inspire us, or whether having an optional dependency
would be an idea to consider (if you have imagemagick and/or use some
option to Lily you get one behaviour vs the other).
L
On Sun, 1 Jan 2023, 12:36 Jean Abou Samra, <jean@abou-samra.fr> wrote:
> 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.)
>
- Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
- Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
- Re: Missing items to make Cairo ready,
Luca Fascione <=
- Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
- Re: Missing items to make Cairo ready, Luca Fascione, 2023/01/01
- Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
- Re: Missing items to make Cairo ready, Luca Fascione, 2023/01/01
- Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
Re: Missing items to make Cairo ready, Jean Abou Samra, 2023/01/01
Re: Missing items to make Cairo ready, Han-Wen Nienhuys, 2023/01/06
Re: Missing items to make Cairo ready, Han-Wen Nienhuys, 2023/01/04