[FIXED] "-compress Zip" does not work to create PNG icons
Posted: 2012-06-16T12:52:27-07:00
Hi,
as you know Windows since Vista supports icons to be PNG compressed. While IM is able to identify such icons, is does not seem to be able to create them. At least I was not able to get "-compress Zip" to work with icons.
For testing, use http://git-scm.com/images/logos/downloa ... -1788C.eps and do
$ convert -colorspace sRGB Git-Icon-1788C.eps -resize 256x256 -compress Zip git.ico
$ identify.exe -verbose git.ico | grep Compression
Compression: Undefined
as you know Windows since Vista supports icons to be PNG compressed. While IM is able to identify such icons, is does not seem to be able to create them. At least I was not able to get "-compress Zip" to work with icons.
For testing, use http://git-scm.com/images/logos/downloa ... -1788C.eps and do
$ convert -colorspace sRGB Git-Icon-1788C.eps -resize 256x256 -compress Zip git.ico
$ identify.exe -verbose git.ico | grep Compression
Compression: Undefined