Please excuse my ignorance with image file formats, but I've noticed some smelly behaviour whilst using ImageMagick.
I have some .ICO files which I can view with gPhoto, the IDENTIFY command fails with them. Whilst perplexing, that's not my question today, my question concerns the semantics of -format when dealing with "damaged" .ICO files.
Meet r.ico, he's not feeling well:
Code: Select all
$ identify r.ico
r.ico[0] ICO 256x256 256x256+0+0 8-bit DirectClass 285KB 0.020u 0:00.019
... this goes on 13 more times trying different dimensions
Code: Select all
$ identify -format "%i" r.ico
r.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.icor.ico
Thanks for your patience,
Charles.