Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/www/nat.guyton.net/geeklog-1.4.0sr2/public_html/lib-common.php on line 4396
Nat's Geeklog: How to create a favicon

How to create a favicon

Saturday, December 10 2005 @ 05:09 PM CST

Contributed by: nat

Favicons are the custom images that are displayed in the location bar for websites that create them. They are also sometimes shown in your bookmarks/favorites.

So how do you create them? They are not simple BMP files, but almost. If you have a UNIX machine, you can create a favicon if you have the netpbm package installed. Here is the command to do it, assuming you already have a bmp file of the image you want (16 x 16 pixels):

bmptoppm favicon.bmp | ppmtowinicon > favicon.ico

0 comments



/article.php/20051210170946964