Code: Select all
$ convert -verbose input.svg output.png
'inkscape' '/tmp/magick-7021NuwMejdeE5J' --export-png='/tmp/magick-7028UtiZe34gdWV' --export-dpi='90,90' --export-background='rgb(100%,100%,100%)' --export-background-opacity='1' > '/tmp/magick-7024PjbEew5AMM7' 2>&1
As a temporary workaround that doesn't require me to modify ImageMagick itself, I have found that I can modify /etc/ImageMagick-6/delegates.xml, changing this line:
Code: Select all
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-png="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
Code: Select all
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-margin="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
Using Arch Linux, ImageMagick 6.9.7-5.