2016.10.06 11:17 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Charles Auer
TIFFSetErrorHandler (0); // This function will hide all errors.
TIFFSetWarningHandler (0); // This function will hide all warnings.
// Now, open tiff document.
tif = TIFFOpen(filename, "r -M");
if (!tif)
return 0;
________________________________
From: tiff-bounces@lists.maptools.org <tiff-bounces@lists.maptools.org> on behalf of John Brown <johnbrown105@hotmail.com> Sent: Wednesday, October 5, 2016 8:11 AM
To: tiff@lists.maptools.org
Subject: [Tiff] Suppress warning about old-style JPEG compression
Whenever tiffcp (4.0.4) finds a page with old-style JPEG
compression, it displays a warning dialog box. Luckily it is just a warning and tiffcp does convert the JPEG pages while leaving the Group 4 pages alone. How can I suppress the dialog box.
LIBTIFF Library - RemoteSensing.org<http://www.remotesensing.org/libtiff/> www.remotesensing.org
This site is focused on remote sensing, image processing, photogrammetry and other related technologies.