First of all, if somebody use gui (ocrgui), he should raise issue to author of gui.
Next it looks like that ocrgui checks for image format and it tries to convert it[1]. So the image (format) used by user could be different that image send to tesseract by ocrgui... Next without testing some leptonica tool (or tesseract executable I would not blame leptonica :-) [1] http://sourceforge.net/p/ocrgui/code/ci/master/tree/src/ocr-engine-tesseract.c Zdenko On Sun, Jan 12, 2014 at 6:55 PM, Robert Komar <[email protected]> wrote: > On Sun, 12 Jan 2014, Stanislaw Gasior wrote: > > I try use tesseract with .png file. >> >> I have some errors (use ocrgui): >> Tesseract Open Source OCR Engine v3.02.02 with Leptonica >> Error in pixReadStreamBmp: cannot read compressed BMP >> files >> Error in pixReadStream: bmp: no pix returned >> Error in pixRead: pix not read >> Unsupported image type. >> > > Leptonica thinks the file is in a compressed BMP format > rather than PNG. If it is really supposed to be in PNG > format, then the file is probably corrupted. If it is > supposed to be a BMP file, then you can convert it to > PNG using ImageMagick's convert program before passing > it to tesseract. > > Cheers, > Rob Komar > > > -- > -- > You received this message because you are subscribed to the Google > Groups "tesseract-ocr" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/tesseract-ocr?hl=en > > --- You received this message because you are subscribed to the Google > Groups "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

