node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

icon

Convert an image to thumbnails suitable for favicon, metro tiles, touch icons.

icon

Convert an image to thumbnails suitable for favicon, metro tiles, touch icons.

Requires http://cairographics.org/ which can be installed using brew install on OS X.

npm install -g icon
icon original.png
ls | select name
 
Name
----
favicon.ico
favicon.png
original.png
touch-icon-ipad-retina.png
touch-icon-iphone-retina.png
touch-icon-iphone.png
tileicon.png
Name Type Size
touch-icon-iphone.png PNG 57 x 57
touch-icon-iphone-retina.png PNG 114 x 114
touch-icon-ipad-retina.png PNG 144 x 144
favicon.png PNG 96 x 96
favicon.ico ICO 64 x 64
tileicon.png PNG 144 x 144

See Jonathan T. Neal: Understand the Favicon

MIT