Created
June 9, 2018 13:12
-
-
Save eugenehp/96d2c8144f873b2c18bd17c9f4b9954e to your computer and use it in GitHub Desktop.
Convert SVG files to PNG files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for filename in *.svg; do | |
basename="${filename%.*}" | |
convert -density 1200 -resize 512x512 "$filename" "$basename".png | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment