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
Getting Scanners predefined resolutions
Moderator: Alex
-
- Posts: 1
- Joined: Fri Dec 12, 2008 9:17 pm
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Getting Scanners predefined resolutions
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
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