Convert any image to favicon icon format with ImageMagick
To make a web site icon file that shows up in the address bar in a browser, usually 16×16 pixels in size named favicon.ico, all you need is ImageMagick’s convert.
1 convert pic.jpg -resize 16x16! favicon.ico
Some browsers are shifting away from showing icon files next to the URL, instead showing their own icon to represent the type of content rendered.
If you’re browsing this site using Chrome, you probably see a little globe icon in the URL bar instead of the root hash icon shown here.
Most other browsers like Firefox and Opera, however, still display the favicon.ico