Determine portrait or landscape format

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
SAFmajo
Posts: 2
Joined: Fri Jul 03, 2015 12:00 pm

Determine portrait or landscape format

Post by SAFmajo » Fri Aug 25, 2017 11:27 am

Dear all,

we have some scanjobs that have mixed layout formats (portrait and landscape). Is there a way while acquiring each page to determine if the current scanned page is either landscape or portrait formatted (distinguished by text orientation or whatever kind of "magic") ?

many thanks for ideas or hints

Best regards

majo

User avatar
Loïc
Site Admin
Posts: 5665
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Determine portrait or landscape format

Post by Loïc » Fri Aug 25, 2017 3:55 pm

Hi,

Your best bet is this wonderful feature: http://guides.gdpicture.com/content/web ... ation.html

Please let me know if you need further info.

With best regards,

Loïc

jamesmi
Posts: 1
Joined: Tue Jan 15, 2019 6:51 pm

Re: Determine portrait or landscape format

Post by jamesmi » Tue Jan 15, 2019 6:55 pm

Very helpful topic. Thanks a lot for that. I emphasize for me so much details to use in my job.
By the way, before that I found several good ideas on the site http://fixthephoto.com/ . If you have free time please check it and describe what do you think.
Best wishes
James
Last edited by jamesmi on Thu Jan 24, 2019 11:17 am, edited 1 time in total.

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

Re: Determine portrait or landscape format

Post by Gabriela » Thu Jan 17, 2019 2:14 pm

Hello,

Now a new class is available dedicated to the OCR functionality in GdPicture from version 14.0.28:
http://guides.gdpicture.com/content/web ... reOCR.html
The above-mentioned GetOrientation() method you can find here:
http://guides.gdpicture.com/content/web ... ation.html
Here you can find an example of usage:
http://guides.gdpicture.com/content/web ... 20OCR.html
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest