Skip to content

Instantly share code, notes, and snippets.

@u01jmg3
Last active March 27, 2019 15:33
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 u01jmg3/e3818f72f793223dc7ac312a9371b34e to your computer and use it in GitHub Desktop.
Save u01jmg3/e3818f72f793223dc7ac312a9371b34e to your computer and use it in GitHub Desktop.
Image conversion
for %I in (*.svg) do convert -density 1536 -background none "%I" ( -clone 0 -background #989898 -shadow 80x3+5+5 ) -reverse -background none -resize 120x120 -gravity center -extent 192x192 -layers merge +repage "%~nI.png"
for %I in (*.svg) do outline-stroke "%I" -o "%I"
for %I in (*.svg) do svgo "%I"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment