Discussion:
identify ignoring errors
Caio
2009-10-26 21:38:37 UTC
Permalink
identify will not print error messages (like: Premature end of JPEG
fileā€¦) to stderr anymore. And -regard-warnings is not working either,
identify -verbose -regard-warnings corrupt.jpeg returns 0.

ImageMagick 6.5.7-0
d***@imagemagick.org
2009-10-26 23:41:52 UTC
Permalink
Post by Caio
identify will not print error messages (like: Premature end of JPEG
Do you have an example image. We get:

-> identify -verbose corrupt.jpg
identify: Corrupt JPEG data: 22234 extraneous bytes before marker 0xd9 `d' @ jpeg.c/EmitMessage/227.
identify: JPEG datastream contains no image `d' @ jpeg.c/EmitMessage/232.
Loading...