Skip to content

Instantly share code, notes, and snippets.

@MartijnBraam
Created May 21, 2014 08:16
Show Gist options
  • Save MartijnBraam/d8a0f3c98ecb7eab9f52 to your computer and use it in GitHub Desktop.
Save MartijnBraam/d8a0f3c98ecb7eab9f52 to your computer and use it in GitHub Desktop.
#!/bin/bash
convert $1 \
\( -clone 0 -resize 16x16 \) \
\( -clone 0 -resize 24x24 \) \
\( -clone 0 -resize 32x32 \) \
\( -clone 0 -resize 48x48 \) \
\( -clone 0 -resize 64x64 \) \
favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment