-quiet mode not working
Posted: 2007-09-13T17:38:11-07:00
My correspondence with Anthony Thyssen on this topic (where bogus.png does not exist). I was working with IM v6.3.5.7
| If I do the following:
|
| if convert -regard-warnings "bogus.png" "tmp.png"
| then
| : ' do something else'
| else
| echo "--- cannot read input file ---"
| exit 1
| fi
|
|
| Then I get:
|
| convert: unable to open image `bogus.png': No such file or directory.
| convert: unable to open file `bogus.png'.
| convert: missing an image filename `tmp.png'.
| --- cannot read input file ---
|
|
| If I add -quiet as follows:
|
| if convert -regard-warnings -quiet "bogus.png" "tmp.png"
| then
| : ' do something else'
| else
| echo "--- cannot read input file ---"
| exit 1
| fi
|
|
| then I still get the same result:
|
| convert: unable to open image `bogus.png': No such file or directory.
| convert: unable to open file `bogus.png'.
| convert: missing an image filename `tmp.png'.
| --- cannot read input file ---
|
That is a definate BUG. (Anthony)
| If I do the following:
|
| if convert -regard-warnings "bogus.png" "tmp.png"
| then
| : ' do something else'
| else
| echo "--- cannot read input file ---"
| exit 1
| fi
|
|
| Then I get:
|
| convert: unable to open image `bogus.png': No such file or directory.
| convert: unable to open file `bogus.png'.
| convert: missing an image filename `tmp.png'.
| --- cannot read input file ---
|
|
| If I add -quiet as follows:
|
| if convert -regard-warnings -quiet "bogus.png" "tmp.png"
| then
| : ' do something else'
| else
| echo "--- cannot read input file ---"
| exit 1
| fi
|
|
| then I still get the same result:
|
| convert: unable to open image `bogus.png': No such file or directory.
| convert: unable to open file `bogus.png'.
| convert: missing an image filename `tmp.png'.
| --- cannot read input file ---
|
That is a definate BUG. (Anthony)