The image is generated from pdf file and is cropped. I changed from
On Oct 18, 7:45 pm, zdenko podobny <
zde...@gmail.com> wrote:
> unsupported image type.
> On windows only debug version of Leptonica library produces error messages
> to terminal (e.g. you should build tesseract against debug version of
> leptonica if you want to see error messages produced by leptonica). Have a
> look at [1].
>
> On linux I see this:
>
> Tesseract Open Source OCR Engine v3.01 with Leptonica
> Error in pixReadFromTiffStream: spp not in set {1,3,4}
> Error in pixReadStreamTiff: pix not read
> Error in pixReadStream: tiff: no pix returned
> Error in pixRead: pix not read
> Unsupported image type.
>
> [1]
http://code.google.com/p/leptonica/issues/detail?id=42&can=1
>