Batch Convert SVG to PNG with rsvg-convert

On OSX, install with brew install librsvg. One-liner in the terminal is:

find . -type f -name "*.svg" -exec bash -c 'rsvg-convert -h 800 "$0" > "$0".png' {} \;

Leave a Reply

Your email address will not be published. Required fields are marked *