Skip to content

Instantly share code, notes, and snippets.

@blairanderson
Last active October 17, 2017 15:38
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 blairanderson/4afea71ac4afeb32c8614a9bfb5c2e5a to your computer and use it in GitHub Desktop.
Save blairanderson/4afea71ac4afeb32c8614a9bfb5c2e5a to your computer and use it in GitHub Desktop.
imagemagick single image to multiple sizes
convert input.png \
\( -clone 0 -resize 128x128 -write icon-128.png \) \
\( -clone 0 -resize 96x96 -write icon-96.png \) \
\( -clone 0 -resize 48x48 -write icon-48.png \) \
\( -clone 0 -resize 16x16 -write icon-16.png \)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment