In the methods SaveAsPDFOCR and PdfAddGdPictureImageToPdfOCR (and maybe even PdfOCRCreateFromMultipageTIFF, but I know it would be much harder) , would it be possible to have an overload that converted color images to bitonal before performing the OCR.
The image within the PDF would still be the original image (color) , but the OCR would be done on a temporary bitonal extract. This would greatly enhance the PDF OCR output for color images.
Not sure if this is even possible
Just work the method so that it takes a B&W image as an argument
That way we could supply the black and white image , either extracted from the single or multipage , filter as needed to get the optimum, and then feed it to the method without affecting the original image that will become the image in the PDF.If done corretly the pixel dimesions remain the same , so the overlay should remain the same.
Who is online
Users browsing this forum: No registered users and 1 guest