Package: tesseract-ocr
Version: 2.03-2
Severity: normal

Hi,
tesseract by itself errors on files ending in .tiff - renaming them
to .tif works.

f...@lifebook:/tmp$ cp testocr-1.tif testocr-1.tiff
f...@lifebook:/tmp$ tesseract /tmp/testocr-1.tif /tmp/p -l deu
Tesseract Open Source OCR Engine
f...@lifebook:/tmp$ tesseract /tmp/testocr-1.tiff /tmp/p -l deu
Tesseract Open Source OCR Engine
name_to_image_type:Error:Unrecognized image type:/tmp/testocr-1.tiff
IMAGE::read_header:Error:Can't read this image type:/tmp/testocr-1.tiff
tesseract:Error:Read of file failed:/tmp/testocr-1.tiff
Signal_exit 31 ABORT. LocCode: 3  AbortCode: 3

This is obviously a very bogus and misleading error message as the file format
is obviously not depending on the extension.

Flo

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tesseract-ocr depends on:
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3
ii  libtiff4                     3.8.2-11    Tag Image File Format (TIFF) libra
ii  tesseract-ocr-deu [tesseract 2.00-1      tesseract-ocr language files for G
ii  tesseract-ocr-deu-f [tessera 2.01-1      tesseract-ocr language files for t
ii  tesseract-ocr-eng [tesseract 2.00-1      tesseract-ocr language files for E

tesseract-ocr recommends no packages.

tesseract-ocr suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to