Page 1 of 1

How to best render PDF page for OCR

Posted: Tue Dec 13, 2016 2:43 pm
by fs051268
Hi,

I Need to render PDF pages black and White but also color) in order to pass them to a third Party OCR engine.
I saw that the memory usage is quite intense and I want to ask what the best parameters are to use with the function RenderPageToGdPictureImage()?

I use RenderPageToGdPictureImage(300, true) but there are some over loads and I don't know what to use.

Thank you.

Re: How to best render PDF page for OCR

Posted: Sun Jan 27, 2019 2:37 pm
by Gabriela
Hi,

The mentioned methods are very well documented here:
https://www.gdpicture.com/guides/gdpicture/web ... Image.html
For image-based pages only, you should use one of these methods:
https://www.gdpicture.com/guides/gdpicture/web ... ageEx.html