Skip to content

Instantly share code, notes, and snippets.

@nicinabox
Last active October 24, 2019 07:17
Embed
What would you like to do?
Convert favicon.png to an .ico with multiple sizes
convert favicon.png -bordercolor white -border 0 \
\( -clone 0 -resize 16x16 \) \
\( -clone 0 -resize 32x32 \) \
\( -clone 0 -resize 48x48 \) \
\( -clone 0 -resize 64x64 \) \
-delete 0 -alpha off -colors 256 favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment