Closed jalavosus closed 9 years ago
Hm, weird. It looks like your python-imaging lacks PNG support.
in src/pyocr/tesseract.py, you can try replacing
image.save(proc.stdin, format=image.format)
by something like
image.save(proc.stdin, format='bmp')
Update: wrong version of Pyocr --> fixed.
This is interesting; my version of Image does support PNG -- it actually has more trouble with JPG's than it does PNG's.
Nothing's broken besides the last test, so I won't worry about it. Closing the issue.
I'm using the
python-imaging
library from Ubuntu's repositories. This is the only test that fails. Please advise on how to fix.