AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2016.10.05 08:11 "[Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.06 11:17 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Charles Auer
2016.10.06 12:01 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.06 12:39 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Olivier Paquet
2016.10.07 21:28 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.07 21:38 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Bob Friesenhahn
2016.10.07 21:48 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown

2016.10.06 12:01 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown

On Thursday Oct 6 at 6:18 (GMT - 5) ,Charles Auer wrote:

TIFFSetErrorHandler (0); // This function will hide all errors.

TIFFSetWarningHandler (0); // This function will hide all warnings.

Thanks, Charles. This works, but I realised that I asked for the wrong thing. It would be best for the messages to be written to stderr, as they are on Linux, rather than suppressed entirely. I just wanted to avoid having to click each time an error occurred, but of course I should know if an error occurred. I suppose that I can write my own error handler to write to stderr.

Would you say that it is a bug that on Windows the error message is displayed in a message box instead of written to stderr?

Regards,
John Brown.