Page 1 of 1

Set '-quiet' programmicaly

Posted: 2019-08-10T00:15:27-07:00
by ewanchapman
Hello,
I`m trying to read tiff and there is a warning 'Unknown field with tag 292 (0x124) encountered'. How to ignore it in C++ program?

Re: Set '-quiet' programmicaly

Posted: 2019-08-10T03:34:43-07:00
by magick
To ignore warnings, set the warning handler to NULL:

Code: Select all

MagickCore::SetWarningHandler((MagickCore::WarningHandler) NULL);