Convert svg to png with inkscape (OSX)
Set alias to inkscape commandline¶ alias inkscape="/Applications/Inkscape.app/Contents/Resources/bin/inkscape" call inkscape to convert¶ inkscape -z -f test_full.svg -j -e test_full.png
2 stories to explore.
Set alias to inkscape commandline¶ alias inkscape="/Applications/Inkscape.app/Contents/Resources/bin/inkscape" call inkscape to convert¶ inkscape -z -f test_full.svg -j -e test_full.png
Install Cairosvg¶ sudo pip install pycairo brew install py2cairo sudo pip install cairosvg sudo ./waf configure --prefix=/System/Library/Frameworks/Python.framework/Versions/2.7 Additional¶ find out where the svg/cairo libraries were installed make sure that pkg-config finds these, if not, set PKG_CONFIG_PATH to point to the /lib directory of the location were the svg/cairo libraries are installed re-run configure, which should now pick up the new libraries (if not, check config.log) if the build still fails, try to do a make distclean (which requires a new configure afterwards)