TIFF压缩警告

This article was translated from English: Does it need improvement?
Translated
View the article in English

使用 IronOcr 转换或处理 TIFF 文件时,用户在运行该过程时可能会遇到以下警告。

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

解释

这些警告是由 ImageMagicik(通过 libtiff)在处理使用较旧压缩方法的 TIFF 图像时生成的。 它建议改用一种新的 JPEG 压缩方式。 有关此警告的更多信息,请参阅此处

这些警告不会干扰使用 OCR 从图像中提取文本。 该过程将照常进行,这些警告仅供参考。 对于IronOcr(v2025.5.x) ,我们将禁用警告以防止界面杂乱。

Curtis Chau
技术作家

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。

准备开始了吗?
Nuget 下载 5,246,844 | 版本: 2025.12 刚刚发布