Page MenuHomePhabricator

Choose a svg-png converter for Dicoado
Closed, ResolvedPublic

Description

The SVG converter we were using isn't installed on the server, see https://fr.dicoado.org/dico/Fichier:CRISCO.svg.

What would be a good SVG to PNG converter? Is rsvg a good choice, or is something else suitable?

Event Timeline

Possible values available by default are 'ImageMagick', 'sodipodi', 'inkscape', 'batik', 'rsvg', 'imgserv', 'ImagickExt'. Other converters can be added to $wgSVGConverters.

Please see https://m.mediawiki.org/wiki/Manual:$wgSVGConverter

Please try with ImageMagick since we have php-imagick installed

Probably there is a non-default in action, since that is supposed to be the default

Raphoraph changed the task status from Open to In Progress.Sep 12 2023, 10:58 AM

Yes we were using rsvg and not imagemagick. Will change it when I can.

So I saw you've done it, thanks. It works but the quality is unfortunately poor. MediaWiki seems to recomomend using librsvg, which we can install if there is no concern bout it.

Please feel free to install whatever package from the stable APT repository. For legal reasons APT software is 100% OK to be installed. You are totally free in that

Installed librsvg-bin, set it up properly, and it works like a charm. Thanks!

Nice 💚

And remember, this is your home now!

But from great power, great responsibilities bla bla ihih