Uses wrong geometry for one of multiple layers in .ico
Posted: 2011-04-17T10:44:23-07:00
Source image (original has questionable copyright regarding stand-alone distribution, hence modified beyond recognition):
http://ubuntuone.com/p/nCG/
When trying to extract the largest 128x128 layer using:It produces
Digging deeper down:...it seems that IM thinks that it's geometry is 128x0 and this is what is causing the kerfuffle.
This I can't help but suspect to be a bug.
All other layers[0-2] seems to work fine.
- arand
http://ubuntuone.com/p/nCG/
When trying to extract the largest 128x128 layer using:
Code: Select all
convert image.ico[3] image.png
Code: Select all
convert: No IDATs written into file `image.png' @ error/png.c/PNGErrorHandler/1455.
Code: Select all
identify image.ico[3]
image.ico[3]=>image.ico[3] ICO 128x0 128x0+0+0 8-bit DirectClass 0.000u 0:00.000
This I can't help but suspect to be a bug.
All other layers[0-2] seems to work fine.
- arand