Convert an image to thumbnails suitable for favicon, metro tiles, touch icons.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.editorconfig
.gitattributes
.gitignore
README.markdown
index.js
package.json

README.markdown

icon

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

Dependencies

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

Install

npm install -g icon

Usage

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

Types

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

Adding to your website

See Jonathan T. Neal: Understand the Favicon

License

MIT