Tiff Compression Warning
When converting or working with TIFF files with IronOcr, users may encounter the following warning when running the process.
in-memory: Warning, incorrect count for field "JpegQTables" (0, expecting 1); tag ignored
in-memory: Warning, incorrect count for field "JpegDcTables" (0, expecting 1); tag ignored
in-memory: Warning, incorrect count for field "JpegAcTables" (0, expecting 1); tag ignored
in-memory: Warning, incorrect count for field "JpegQTables" (0, expecting 1); tag ignored
in-memory: Warning, incorrect count for field "JpegDcTables" (0, expecting 1); tag ignored
in-memory: Warning, incorrect count for field "JpegAcTables" (0, expecting 1); tag ignored
OJPEGSetupDecode: Warning, Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software
Explanation
These warnings are generated by ImageMagicik (via libtiff) when processing TIFF images that use older compression methods. It suggests using a new style of JPEG compression instead. For more information regarding this warning, please refer to this.
These warnings do not interfere with extracting text from images using OCR. The process will continue normally, and the warnings are purely informational. For future versions of IronOcr(v2025.5.x)
, we will disable the warnings to prevent clutter.