IM-6.7.8-3 fails to PNG-encode ICO files
Posted: 2012-07-17T07:20:22-07:00
PNG-encoding of ICO files does not work in IM-6.7.8-3 because of a bug that causes coders/icon.c to never use PNG encoding (at line 854, both "> 256L" should be ">= 256L"). Also, we need to ensure that we only write png32-formatted PNGs inside an ICO, according to http://msdn.microsoft.com/en-us/library/aa511280.aspx (otherwise at least Fiirefox will reject them). That can be accomplished by setting the png:format=png32 artifact in icon.c; the png encoder will read this artifact and write a PNG32.