Created
August 21, 2014 16:44
-
-
Save ahoward/fc102c4860e07cadbe02 to your computer and use it in GitHub Desktop.
Revisions
-
ahoward created this gist
Aug 21, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #! /bin/sh # file : ~/bin/favicon # # usage: favicon foo.png convert "$@" -resize 16x16 favicon-16.png convert "$@" -resize 32x32 favicon-32.png convert "$@" -resize 64x64 favicon-64.png convert "$@" -resize 128x128 favicon-128.png convert "$@" -resize 256x256 favicon-256.png convert favicon-16.png favicon-32.png favicon-64.png favicon-128.png favicon-256.png -colors 256 favicon.ico #convert favicon-16.png favicon.ico