Almost as soon as I posted my previous article on setting the palette and background transparency of a GIF I got emails from people asking to fill in the missing information - namely how to set the palette of the resulting image to something useful.

In this example we set the GIF to use a standard "web safe" non-dithering palette.