lilypond-devel
[Top][All Lists]
Advanced

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

Re: RFC: require librsvg to implement SVG image support


From: Jean Abou Samra
Subject: Re: RFC: require librsvg to implement SVG image support
Date: Sun, 15 Jan 2023 14:09:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Le 15/01/2023 à 12:24, Jonas Hahnfeld a écrit :
(which is surprising and my interpretation is that the question was
phrased wrongly:


Could you elaborate on how the question should have been
phrased in your opinion? I don't understand this from the
following sentences.

(For what it's worth, it was not a surprise to me, as it
confirms my own experience.)


Currently, the only format for the inclusion of vector
graphics is EPS. I just tested this with the Debian logo, and
conversion to SVG with Imagemagick produces a black-and-white image.
Conversion to PDF on the other hand is as easy as "ps2pdf -dEPSCrop"
and hugely battle-tested with Ghostscript. Conversion to SVG actually
seems to work with Inkscape, but requires the use of a graphical
interface (or I haven't found the full batch options yet), and
internally seems to use Ghostscript, so it's actually two conversions
instead of one. My conclusion is that PDF is the more "logical"
successor to the inclusion of EPS.)



The Inkscape problem looks quite silly,

https://gitlab.com/inkscape/inkscape/-/issues/3524

I think the easiest route is "ps2pdf -dEPSCrop" then
"pdftocairo -svg" (i.e., GS, then Poppler).

PDF may be closer to EPS, but EPS is uncommon today, so I
don't think this adds much value.


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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