ICO libraries for PHP
- Imagick, the ImageMagick extension, reads every entry of an ICO file and writes multi-size icons, for example to generate
favicon.icofrom an uploaded logo.
PHP’s bundled GD extension doesn’t read or write ICO.
- Imagick Read and write Windows ICO icons in PHP with the Imagick extension: list icon sizes, convert ICO to PNG, generate a multi-size favicon.ico, with code.