I'm looking to create favicon.ico
files programatically from Python, but PIL only has support for reading ico
files.
According to Wikipedia modern browsers can handle favicons in PNG format, so maybe you could just generate that?
Alternatively the ICO article describes the format...