VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Getting Scanners predefined resolutions



Getting Scanners predefined resolutions

Post by albertocardoso »

Hello.

Well I'm trying to get all the predefined resolutions of a scanner.
For example, my hp scanner has predefined resolutions (96/128/300/etc). I want to get those predefined resolutions and set them in a combobox.
The solution at this moment is a numeric up and down control that can capture values between the capMax and capMin of the device.

Bonus question!
Is there any way to filter the selects source to only show scanners and not cameras?

Thanks in advance

The very best,
Alberto


Re: Getting Scanners predefined resolutions

Post by Alex »

Hello Alberto,

Unfortunately, TWAIN doesn’t provide a direct way to know the device type. In most cases webcams support 24-bpp bit depth only.

And here is a list of capabilities, which are normally supported by webcams only:
- Flash
- Flash2
- ExposureTime
- BatteryMinutes
- BatteryPercentage
- CameraPreviewInterface
- PowerSupply
- ZoomFactor

Best regards, Alexander


Page 1 from 1: 1