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.
OpenPGP_signature
Description: OpenPGP digital signature