Made By Nathan
  • Blog
  • 3D Printing
  • DocSpring
  • Homepage
gimp

How to create a favicon.ico with GIMP

Nathan Broadbent

Nathan Broadbent

21 May 2010 — 1 min read

UPDATE: Theres an easier way to do this here: http://www.htmlcenter.com/blog/creating-a-favicon-for-your-website/.

http://linuxproblem.org/art_19.html

By Mathias Kettner :

You need an image file that GIMP can open (PNG, GIF, etc.). And you need the command line tool ppmtowinicon from the netpbm-tools (on SuSE you have to have installed the package netpbm). Now perform the following actions:

  • Open your image with GIMP.
  • If your image is not a square then resize the canvas with GIMP.
  • Scale the image to 16x16 pixel (Image, Scale image).
  • Choose File, save as.. and save as favicon.ppm with raw encoding.
  • Close GIMP
  • Convert favicon.ppm using the command line utility ppmtowinicon:
ppmtowinicon -output favicon.ico favicon.ppm

That's all. Now copy your favicon.ico to the document root of Apache, for example to /srv/www/htdocs/favicon.ico, if you are using SuSE Linux >= 8.1.

Read more

How I Turned Our Rented House into a Smart Home

How I Turned Our Rented House into a Smart Home

We've been renting a house in Auckland, New Zealand. This house needs a lot of maintenance and renovation, but the landlords let us have two cats and a dog so we can't complain! They also let us do whatever we want to the house (within reason)

By Nathan Broadbent 22 Mar 2025
Background Extra Work

Background Extra Work

I signed up with an agency (BGT) and started doing some extra work in 2024. It's a lot of fun to be on movie and TV sets. (It can also pay quite well if you book a commercial!) Spartacus: House of Ashur I'm a "Roman

By Nathan Broadbent 19 Jul 2024
Desk Lighting For Each Day Of The Week

Desk Lighting For Each Day Of The Week

I have an LED strip behind my desk in my office. It's controlled by an ESP32 running the WLED firmware. I've had it stuck on a fixed color preset for around a year. (See above.) I still like these colors, but I thought it would be

By Nathan Broadbent 06 May 2024
3D Printed Pegboard Mounts for Stanley Fatmax V20 Power Tools

3D Printed Pegboard Mounts for Stanley Fatmax V20 Power Tools

I have some Stanley Fatmax power tools: * Impact Driver * Drill * Jigsaw * Sander * Circular Saw I also have their lawnmower, leaf blower, and pressure washer. It's great that we can use the same batteries for everything. I decided to mount the hand-held power tools on a pegboard in my

By Nathan Broadbent 05 May 2024
Made By Nathan
Powered by Ghost