Skip to content

Instantly share code, notes, and snippets.

@richard1122
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richard1122/e9b5861fcf16e056b9dd to your computer and use it in GitHub Desktop.
Save richard1122/e9b5861fcf16e056b9dd to your computer and use it in GitHub Desktop.
Convert some svg into png by inkscape
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