Tesseract reads nothing from TIF files - Error in pixReadFromTiffStream

Symptoms

Tesseract reads nothing from TIF files. The following error is shown in the terminal:

Error in pixReadFromTiffStream: bad tiff file: tiffbpl is too small

Cause

Tesseract's answer on GitHub:

  1. Tesseract uses Leptonica to open images.
  2. I used leptonica-1.80.0 (May 16 2020, 13:24:45) [MSC v.1916 LIB Release x64], and the message was: Error in pixReadFromTiffStream: old style jpeg format is not supported

Resolution

Use a supported input image.

Properties

Properties

Date

2020-06-15

Applies to

  • Third-party software integration

 

Keywords

  • AllVersions
  •