Loading...

TwainGetAvailableBrightnessCount = 0?

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

TwainGetAvailableBrightnessCount = 0?

Postby Slava » Sat Apr 05, 2008 7:15 pm

Hi,

I am doing some tests with GDTWAIN 410/411, and i see that twain value arrays (resolutions/brightness/contrast/bitdepth) are differently interpreted by gdtwain for each scanner (at least with my scanners).

in some cases is TwainGetAvailableBrightnessCount = 0 !?

I have attached the test program with delphi source.

The controls i have created for twain setup cannot work correctly because of these totally different array architectures on each twain driver. Is this normal behavour? Can i do something about it?

Slava
Attachments
GdTwainTest.rar
(202.68 KiB) Downloaded 81 times
Last edited by Slava on Mon Jan 11, 2010 3:12 pm, edited 1 time in total.
Slava
 
Posts: 66
Joined: Fri Jun 22, 2007 4:43 pm

Re: TwainGetAvailableBrightnessCount = 0?

Postby Loïc » Sun Apr 06, 2008 6:26 pm

Hi,

The controls i have created for twain setup cannot work correctly because of these totally different array architectures on each twain driver. Is this normal behavour? Can i do something about it?


Yes it is a normal behaviour. It is why methods such as TwainGetAvailableBrightnessCount(), TwainGetAvailableContrastCount(), TwainGetAvailableBitDepthsCount()... are implemented.
Each scanner & each driver of them provide specific capabilities. These methods should help you to dialog with each scanner driver using supported values.

However one thing seems strange to me: the number of supported resolution and the number of supported brightness values of the HP scanjet 5590 TWAIN driver. To check that, I will get this model within few days. I'll report result into this topic.

Best regards,

Loïc Carrère
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron