pythonfavicon

How do I generate a favicon.ico file in Python?


I'm looking to create favicon.ico files programatically from Python, but PIL only has support for reading ico files.


Solution

  • 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...