Michele Volpato

Michele Volpato

Convert all SVG files in a folder to PNG


I changed the way I create posts in this website. The new way automates most of the boring tasks.

One downside is that it does not work well with SVG files.

I had to convert all the SVG files in my site to PNG.

First I installed inkscape:

brew install inkscape

Then I run this command from the folder where all my SVG files are:

inkscape --export-type="png" $(ls -q)

Get a weekly email about Flutter

Subscribe to get a weekly curated list of articles and videos about Flutter and Dart.

    We respect your privacy. Unsubscribe at any time.

    Leave a comment