Change Scan Settings for a Page

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
ganeshj
Posts: 14
Joined: Fri Aug 07, 2009 7:46 am

Change Scan Settings for a Page

Post by ganeshj » Tue Mar 29, 2011 2:38 pm

I am scanning a document with 10 pages.

I am scanning using ADF, and the Color Mode is Black & White.

Is it possible to change the ColorMode for page 4 alone.

I have tried a few things. So far the only way i have been able to change the settings is if i
1) CloseSource and then
2) Open Source
but then this take too long.

Is there any way to change the TwainSettings for a spcific page.

I also tried to Scan 1 page at a Time using the XFerCount to 1. But again after the 1st page is scanned i can change the settings but when i explicitly call AcuireImage it is not scanning the next page. I have to again CloseSource and OpenSource.

Please let me know how i can change the scannsettings for a page in a document.

Reards
Ganesh

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

Re: Change Scan Settings for a Page

Post by Loïc » Tue Mar 29, 2011 4:25 pm

Hi Ganesh,
But again after the 1st page is scanned i can change the settings but when i explicitly call AcuireImage it is not scanning the next page. I have to again CloseSource and OpenSource.
Have you tried TwainSetAutoSourceClose(False) ?

Kind regards,

Loïc

ganeshj
Posts: 14
Joined: Fri Aug 07, 2009 7:46 am

Re: Change Scan Settings for a Page

Post by ganeshj » Fri Apr 01, 2011 10:13 am

unless i close the source i am not able to change the twain settings. Even if i set the properties for bitdepth and pixel type it, the value does not change. Only if i close am i able to change it. I dont want to close and open because that creates quiet a delay to scan each page.
Is there any other approach for meeting this requirement.

To be able to set scan settings for each page when scanning from the ADF.

Regards
Ganesh

ganeshj
Posts: 14
Joined: Fri Aug 07, 2009 7:46 am

Re: Change Scan Settings for a Page

Post by ganeshj » Tue Apr 05, 2011 10:50 am

An help on this would be appreciated.

The functionality here is .

I am scanning a document with 10 pages. All the pages should be scanned black and white. Only page 5 should be scanned in Color.

The scanning is done using ADF because large no of documents are scanned. So doing it manually takes time. I want to be able to programmatically change the setting when i scan page 5 to use gray scale.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest