Skip to content

In reply to https://jan.boddez.net/notes/8757c0b082. As such, I’m having …

In reply to https://jan.boddez.net/notes/8757c0b082.

As such, I’m having Imagick read the image data (works for all but ICO), and if that fails, use Imagick::setFormat('ico'). And it works! (Except for, well, emoji inside SVGs. A total edge case, I hope, but I’ve got a plan regardless.)

So, favicons can be either PNG, GIF, ICO, …
jan.boddez.net