possible bug -quiet IM 6.7.9.6 Q16

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug -quiet IM 6.7.9.6 Q16

Post by fmw42 »

IM 6.7.9.6 Q16 Mac OSX Snow Leopard

I was under the impression that -quiet should only return my custom error message and not any other messages. Do I misunderstand?

infile="bogus.png" # file does not exist
convert -quiet "$infile" $dir/bogus.mpc ||
echo "--- FILE $thefile DOES NOT EXIST OR IS NOT AN ORDINARY FILE, NOT READABLE OR HAS ZERO SIZE ---"

convert: unable to open image `bogus.png': No such file or directory @ error/blob.c/OpenBlob/2638.
convert: unable to open file `bogus.png' @ error/png.c/ReadPNGImage/3741.
convert: no images defined `/bogus.mpc' @ error/convert.c/ConvertImageCommand/3044.


--- FILE DOES NOT EXIST OR IS NOT AN ORDINARY FILE, NOT READABLE OR HAS ZERO SIZE ---
Post Reply