Last active
August 29, 2015 14:05
-
-
Save richard1122/e9b5861fcf16e056b9dd to your computer and use it in GitHub Desktop.
Convert some svg into png by inkscape
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 line in `find . -iname '*.svg';` | |
do | |
for dpi in 90 180 360 720 | |
do | |
inkscape -z -f "${line}" --export-png="png/${line}_${dpi}.png" -d "${dpi}" | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment