Compression problem

190 views
Skip to first unread message

Tabi

unread,
Sep 28, 2007, 7:35:40 AM9/28/07
to tesseract-ocr
tesseractlog:
Tesseract Open Source OCR Engine
read_tif_image:Error:Illegal image format:Compression
Tessedit:Error:Read of file failed:a.tif
Signal_exit 31 ABORT. LocCode: 3 AbortCode: 3

I'm creating tif from mdi file which comes from microsoft office
document image writer.

Scan...@gmail.com

unread,
Sep 28, 2007, 8:12:29 AM9/28/07
to tesseract-ocr
TIFF has a number of different compressions. Tess by default only
support one. You might use Photoshop or other photo editor to resave
it in a different format such as uncompressed.


There are also some defines you can turn on which include files with
more tiff support (libtiff, etc).

Ray Smith

unread,
Oct 1, 2007, 9:50:32 PM10/1/07
to tesser...@googlegroups.com
Since you are using windows, you can add compressed tiff support by following the instructions in the readme (http://code.google.com/p/tesseract-ocr/wiki/ReadMe ), but you will have to rebuild it yourself...
Reply all
Reply to author
Forward
0 new messages