You should run this command to see a list of all 'delegates' your ImageMagick is trying to use:
convert -list delegate
To discover which delegate command ImageMagick uses for SVG processing, run
convert -list delegate | grep 'svg ='
You should see the binary + commandline parameters your convert
tries to use. Im my case it is /opt/local/bin/rsvg-convert
(but I'm not using Homebrew, I use MacPorts).
Now check if the binary is present at all on your system:
- If yes, run it directly and debug from there.
- If no, try to find where your Homebrew installation installed it, and change ImageMagick's configuration file for its delegates. It's called delegates.xml. MacPorts places it into
/opt/local/etc/ImageMagick/delegates.xml
-- I don't know where Homebrew stores it.
However, since your un-modified installation was already working, there must have been an SVG consuming delegate at work already then. Otherwise you would not have gotten any SVG processed at all.
This internal SVG rendering method of ImageMagick is called MSVG. This is far from being a feature-complete SVG interpreter/renderer.
Update:
To see what ImageMagick is doing for which format, run this command:
convert -list format
and for SVG run
convert -list format | grep SVG
Output on my system is:
MSVG SVG rw+ ImageMagick's own SVG internal renderer
SVG SVG rw+ Scalable Vector Graphics (RSVG 2.36.1)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (RSVG 2.36.1)
After you installed rsvg
, the internal method to render SVGs will not have gone away. You can still force ImageMagick to use the internal renderer by adding MSVG:
to the commandline like this:
convert MSVG:file.svg file.png
Just for completeness' sake...