[magick-users] identity and convert fail with 'Improper image header'
Ignac Vucko
ignacvucko at gmail.com
Tue Dec 23 13:12:45 PST 2008
Thanks for the idea zentara,
But, unfortunately, I have 200K images to convert, about 2K of which
exhibit this phenomena...
I was hoping there was a "force" flag that would allow imagemagick to
treat a file as .ico and ignore
the fact that the header is not "perfect".
Is there another command line linux tool I can use to convert or correct
the images?
ignac
zentara wrote:
> On Tue, 23 Dec 2008 12:24:30 -0500
> Ignac Vucko <ignacvucko at gmail.com> wrote:
>
>
>> I rebuilt latest version from source and the error persists, although
>> with a slighly different error message:
>>
>> Would appreciate some guidance on how I might work around this issue.
>>
>> Thanks,
>> Ignac
>>
>> $ ./identify --version
>> Version: ImageMagick 6.4.8 2008-12-23 Q16 OpenMP http://www.imagemagick.org
>> Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
>>
>> $ ./identify fi1000193.ico
>> lt-identify: Improper image header `fi1000193.ico' @
>> icon.c/ReadICONImage/262.
>>
>
> I opened the file in Gimp, and it didn't complain. Maybe you
> could convert it with Gimp as a workaround? I don't know the
> batch command stuff for Gimp, but if it's a one time conversion,
> just open it in Gimp, and "Save As" png.
>
> zentara
>
>
More information about the Magick-users
mailing list