Last active
October 24, 2019 07:17
-
-
Save nicinabox/179f46dfecc99a382b44 to your computer and use it in GitHub Desktop.
Convert favicon.png to an .ico with multiple sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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