UB-Mannheim/tesseract

Black&white gets inverted in PDF output

filak opened this issue · 1 comments

filak commented

Environment

  • Tesseract Version: tesseract-ocr-w64-setup-v5.0.0-alpha.20191030.exe
  • Commit Number:
  • Platform: Windows 7 Pro 64bit

Current Behavior:

Black&white TIFF file output to PDF gets inverted - black background/white chars

Expected Behavior:

Same colors in PDF as in the original TIFF file.

(The very same TIFF plays nice with Tesseract 3.0.4)

Suggested Fix:

It looks like it has been fixed in the main repo:
https://github.com/tesseract-ocr/tesseract/issues?utf8=%E2%9C%93&q=is%3Aissue+black+pdf

Would you please be so kind and make a new binary ?

filak commented

Thank you very much - it works as expected with tesseract-ocr-w64-setup-v5.0.0-alpha.20200223.exe