AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.10.23 03:15 "How to Supress TIFFReadDirectory warning", by Muthu Kumar
2006.10.23 03:27 "Re: How to Supress TIFFReadDirectory warning", by Bob Friesenhahn
2006.10.23 11:11 "Re: How to Supress TIFFReadDirectory warning", by Chris Losinger
2006.10.23 14:53 "Re: How to Supress TIFFReadDirectory warning", by Bob Friesenhahn
2006.10.23 11:19 "Re: How to Supress TIFFReadDirectory warning", by Gerben Vos
2006.10.23 16:22 "Re: How to Supress TIFFReadDirectory warning", by Muthu Kumar

2006.10.23 11:19 "Re: How to Supress TIFFReadDirectory warning", by Gerben Vos

> On Sun, 22 Oct 2006, muthu kumar wrote:

> > I really don't know how to supress this warning

Bob Friesenhahn wrote:

> Libtiff itself does not include any dialog windows.

Oh yes, tif_win32.c does.

Anyway, the easiest way to suppress warnings is to use
TIFFSetWarningHandler(NULL). You may lose some more important warnings
if you do that, but it's generally safe (they're only warnings, after
all). It would be better to write a warning handler that filters out the
uninteresting warnings and only shows the rest.

Also note that it is a global setting, not per-TIFF.

Another idea is to use tif_unix.c instead of tif_win32.c, it works too
with most Windows versions and compilers. Then the warnings will be
written to stderr (and probably lost in a GUI-based program).

					Gerben Vos.