How to create a favicon for your web site

If you like to create a tiny favicon for your web site (the little icon displayed left of the URL in your browser) there is not much you need to know:

  • apt-get install netpbm

  • Create a bitmap of 16x16 pixels (Gimp is recommended)
  • Save the bitmap as .ppm format (select "raw mode")
  • Convert the file using ppmtowinicon favicon.ppm > favicon.ico

Comments

Even easier

If you use Gimp to make your favicon, you can save from Gimp as .ico (look in the file types for "Microsoft Windows icon").