How to best render PDF page for OCR

Discussions about image processing and document imaging.
Post Reply
fs051268
Posts: 25
Joined: Wed May 22, 2013 4:00 pm

How to best render PDF page for OCR

Post by fs051268 » Tue Dec 13, 2016 2:43 pm

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.

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: How to best render PDF page for OCR

Post by Gabriela » Sun Jan 27, 2019 2:37 pm

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest