7 October 2004

Easy Way To Create Favicon

Posted under: at 00:11

News flash! Benny Chandra discovers favicons :). He used an online service to create his own favicon.ico. Here is Wikipedia entry for favicon.

Favicon.ico itself is a 16×16 bitmap stored in legacy Microsoft icon resource file. Actually, it is very easy to generate favicon.ico from an existing image file using ImageMagick. Since almost all Linux distributions install ImageMagick by default, all you need to generate your own favicon.ico is a shell access to a Linux box. Root access or physical access to the box is not required. Regular user privilege suffices. No need to use fancy graphical editor like Adobe Photoshop or The Gimp.

Suppose you have an image named picture.png. To convert it into favicon.ico all you need to do is to execute the following command:

convert picture.png -resize 16x16! favicon.ico

That’s it. No fuss, no muss. Any experienced PHP/Perl/Python coder can use the above oneliner to easily create their own aforementioned web based favicon.ico generator.

6 Responses

Trackback: Use this URI to trackback this entry. Use your web browser's function to copy it to your blog posting.

Comment RSS: You can track conversation in this page by using this page's Comments RSS (XML)

Gravatar: You can have a picture next to each of your comments by getting a Gravatar.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Warning: Comments carrying links to questionable sites will be removed!