Page 1 of 1

Cannot suppress warnings in IM7

Posted: 2015-10-08T23:22:31-07:00
by lajio
Hi,

I am getting trouble with suppressing warnings with the command -quiet. Using version ImageMagick-7.0.0-Q16. In version 6.8.9 it worked properly.

Command:

Code: Select all

magick tif_pruh_300.tif +profile "!8bim,*" -units PixelsPerInch -density 300 -define tiff:alpha=associated -quiet new.tif
The warning:

Code: Select all

magick: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/892.
Is there any resolution for that? Thanks a lot for an answer.

Re: Cannot suppress warnings in IM7

Posted: 2015-10-08T23:51:00-07:00
by dlemstra
You should put the -quiet at the start of your command. The options are handled in the order you write them. If you want to suppress warnings when you read an image you should put the -quiet before your input file name.

Code: Select all

magick -quiet tif_pruh_300.tif +profile "!8bim,*" -units PixelsPerInch -density 300 -define tiff:alpha=associated new.tif

Re: Cannot suppress warnings in IM7

Posted: 2015-10-09T00:03:54-07:00
by lajio
dlemstra wrote:You should put the -quiet at the start of your command. The options are handled in the order you write them. If you want to suppress warnings when you read an image you should put the -quiet before your input file name.

Code: Select all

magick -quiet tif_pruh_300.tif +profile "!8bim,*" -units PixelsPerInch -density 300 -define tiff:alpha=associated new.tif
Hi, thanks. I tried to put it after the input file, but before..I did not tried to put it there.
Thanks a lot once again and have a nice day!