Code: Select all
convert -list format
Code: Select all
convert image.svg image.png
Code: Select all
convert RSVG:image.svg image.png
Is there some way that I can still use RSVG, so I can compare the results with Inkscape?
Code: Select all
convert -list format
Code: Select all
convert image.svg image.png
Code: Select all
convert RSVG:image.svg image.png
Code: Select all
<delegate decode="svg:decode" stealth="True" command=""inkscape" " ...
Code: Select all
'rsvg-convert' '/tmp/magick-861shrDPgMVA4CJ' --export-png='/tmp/magick-861ZrimwaBF9BnC' --export-dpi='300,300' --export-background='rgb(100%,100%,100%)' --export-background-opacity='1' > '/tmp/magick-861X39YPVeQd2VV' 2>&1
convert: negative or zero image size `test.svg' @ error/image.c/SetImageExtent/2700.
convert: no decode delegate for this image format `test.svg' @ error/svg.c/ReadSVGImage/3374.
convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3258.
Those are valid options for Inkscape. According to "rsvg-convert --help", they are not valid options for rsvg-convert (v2.40.20 on my Windows 8.1 laptop).fmw42 wrote:--export-png= ... --export-background=
Code: Select all
convert RSVG:image.svg ...
Code: Select all
<delegate decode="arg" command=""rsvg-convert" -o "%o" "%i""/>
Code: Select all
set MAGICK_TEMPORARY_PATH=.
Code: Select all
magick -verbose arg:mysvg.svg x.png
Code: Select all
"rsvg-convert" -o ".\magick-7728MN-pOkPjVz_x" ".\magick-7728zgeQzPvqQ1FW"
arg:mysvg.svg=>mysvg.svg PNG 482x579 482x579+0+0 8-bit sRGB 29780B 0.031u 0:0
.016
arg:mysvg.svg=>x.png PNG 482x579 482x579+0+0 8-bit sRGB 29961B 0.250u 0:00.187
Code: Select all
<delegate decode="rsvg" command=""rsvg-convert" -o "%o" "%i""/>