(quick reply without having looked at your file)

chances are, when different applications render an image with different
backgrounds, that the image is encoded as transparent.
Use imagemagick or other tools to postprocess your image to ensure any
alpha channel (transparency) is removed before feeding it to tesseract.


On Thu, Nov 18, 2021, 15:38 Martin Waller <[email protected]> wrote:

> Hi,
>
> I've recently posed a question on the GitHub forum:
>
> https://github.com/tesseract-ocr/tesseract/issues/3647
>
> It concerns a tif image with a white background being turned into a PDF
> with a black background. I supplied the tif in question and was told that
> it shows up black on MacOS and the case closed seemingly without any
> attempt to try it on a PC.
>
> Is Tesseract support limited to the MacOS platform?
>
> Martin
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/34ffe09b-0638-4b48-92ae-8e646d1a82cfn%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/34ffe09b-0638-4b48-92ae-8e646d1a82cfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAFP60fonJNt42WnFKBehZpe4HSEqnxGru%3DHHkO_bbXrRmLVyjg%40mail.gmail.com.

Reply via email to