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.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...Read More

Ready to Get Started?
Nuget Downloads 4,685,233 | Version: 2025.10 just released