17

I've already installed rsvg-convert once in a Mac, but it was using pkg-config, and now I'm trying to insert RSVG inside my own app. RSVG has many dependences, which probably should also be inside my app, but I'm not sure if that is going to work.

And before anyone says, yes, I've checked other possibilities: ImageMagick (not so configurable), qlmanage (horrible result), Inkscape (too heavy), mogrify (same then qlmanage), batik-rasterizer (doesn't support all the svg files and requires Java)... all of them has unsolvable problems, but I'm pretty sure that the RSVG problem can solved!

There is any RSVG bundle out there? There is any ready-to-go script to install RSVG without pkg-config? And if I would really need pkg-config, there is any way to install it in a temporarily folder, just to install RSVG and then disappear?

Thanks in advance.

2 Answers 2

34

Homebrew provides formula for librsvg. Install Homebrew and type

brew install librsvg
4
  • I need to put it inside my app. I can't install Homebew and download librsvg in all my users computers.
    – VitorMM
    May 8, 2015 at 11:25
  • After running this command to have Homebrew install librsvg, I noticed that rsvg is not available (i.e. returns "command not found").
    – soapergem
    Apr 2, 2018 at 16:14
  • 5
    @SoaperGEM The command should be rsvg-convert.
    – mb21
    Sep 27, 2018 at 11:28
  • as of 2021 - brew install librsvg works and brew install rsvg-convert is not found Dec 18, 2021 at 20:44
0

Here is a standalone rsvg-converter for the Mac.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .