ImageGear for C and C++ on Windows v19.10 - Updated
ICAP_BITDEPTH
User Guide > How to Work with... > Common Operations > Scanning > TWAIN Scanning > Set Scanning Capabilities > ICAP_BITDEPTH

Data Type:

TW_UINT16

Purpose:

Specifies the pixel bit depths for the Current value of ICAP_PIXELTYPE. For example, when using ICAP_PIXELTYPE = TWPT_GRAY, this capability specifies whether this is 8-bit gray or 4-bit gray.

This depth applies to all the data channels (for instance, the R, G, and B channels will all have this same bit depth for RGB data). A bit depth of 8 for RGB indicates 8 bits per channel, resulting in 24-bit RGB. Therefore, for 24-bit RGB, this capability should be set to 8, not 24.

Valid Values:

 >=1

Default Value:

N/A