Hello,
"mogrify -regard-warnings -format png corrupt.tif" will produce the error:
"mogrify: unrecognized option `-regard-warnings' @ error/mogrify.c/MogrifyImageCommand/5772."
Apparently the -regard-warnings command is not listed in that huge MogrifyImageCommand() switch statement. Unfortunately, I don't understand the code well enough to figure out what to put there.
"mogrify --version"
================
Version: ImageMagick 6.6.1-2 2010-04-09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
--PaceMaker
mogrify -regard-warnings not recognized
Re: mogrify -regard-warnings not recognized
We can reproduce the problem you posted and have a patch in ImageMagick 6.6.1-5 Beta available by sometime tomorrow. Thanks.