Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
6.5.2
-
adbede1e6 (dev), 06111bf67 (6.7)
Description
The libTiff can produce a large amount of warning and it would be nice if there was a way suppress the warnings.
Example:
we are using QImageReader and Qimage to read TIFF Image files and observe a large number of warnings being printed to console, such as:
----------------------
TIFFReadDirectoryCheckOrder: Warning, Invalid TIFF directory; tags are not sorted in ascending order.
TIFFFetchNormalTag: Warning, ASCII value for tag "DocumentName" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFFetchNormalTag: Warning, ASCII value for tag "Artist" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFReadDirectoryCheckOrder: Warning, Invalid TIFF directory; tags are not sorted in ascending order.
TIFFFetchNormalTag: Warning, ASCII value for tag "DocumentName" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFFetchNormalTag: Warning, ASCII value for tag "Artist" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
Attachments
For Gerrit Dashboard: QTBUG-122829 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
544748,10 | Tiff: Add message handler to pass errors/warnings through Qt logging | dev | qt/qtimageformats | Status: MERGED | +2 | 0 |
553889,2 | Tiff: Add message handler to pass errors/warnings through Qt logging | 6.7 | qt/qtimageformats | Status: MERGED | +2 | 0 |