Use librsvg / rsvg to convert SVG images with ImageMagick

If you want to use Homebrew to install imagemagick with svg support, you need to use an older version. They removed options from the installation process early 2019.

    brew install https://github.com/Homebrew/homebrew-core/raw/46a2ef7c9f0380b8e19f8dfe37270caa27581353/Formula/imagemagick.rb --with-librsvg

(Just adding more context to Zoltan's answer)

Use brew info imagemagick to see available options when installing it.

--with-librsvg
    Build with librsvg support

I tried and my solution is on Mac:

  1. run brew doctor and brew update
  2. use simply brew reinstall imagemagick --with-librsvg // - you may misspelled!
  3. try it. it should work!

Is it work?