Sectors: Finance • Information Technoloy • Government • Healthcare • Industries • Education • (show all)
Specifies the pixel bit depths for the Current value of ICAP_PIXELTYPE. For example; ICAP_PIXELTYPE TWPT_GRAY, this capability specifies whether this is 4-bit gray or 8- bit gray
ICAP_PIXELTYPE TWPT_RGB, this capability specifies whether this is 24-bit color or 48-bit color
This depth applies to the total of all the data channels. TW_IMAGEINFO BitsPerSample is used to identify the number of bits in each channel.
The application should loop through all the ICAP_PIXELTYPEs it is interested in and negotiate the ICAP_BITDEPTH(s) for each.
For all allowed settings of ICAP_PIXELTYPE
Set ICAP_PIXELTYPE
Set ICAP_BITDEPTH for the current ICAP_PIXELTYPE
If the bit depth in a MSG_SET is not supported for the current ICAP_PIXELTYPE setting, return TWRC_FAILURE / TWCC_BADVALUE.
Type: TW_UINT
Value after MSG_OPENDS: (may be remembered from a previous session)
After MSG_RESET/MSG_RESETALL: (dependent on ICAP_PIXELTYPE)
Allowed Values: >=1
MSG_GET TW_ONEVALUE TW_ENUMERATION
MSG_GETCURRENT TW_ONEVALUE
MSG_GETDEFAULT TW_ONEVALUE
MSG_SET TW_ONEVALUE
MSG_SETCONSTRAINT TW_ONEVALUE
TW_ENUMERATION
MSG_RESET TW_ONEVALUE
MSG_QUERYSUPPORT TW_ONEVALUE
All Image Sources
Version 1.0
Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET
The TWAIN Toolkit is distributed as is. The developer and distributors of the TWAIN Toolkit expressly disclaim all implied, express or statutory warranties including, without limitation, the implied warranties of merchantability, noninfringement of third party rights and fitness for a particular purpose. Neither the developers nor the distributors will be liable for damages, whether direct, indirect, special, incidental, or consequential, as a result of the reproduction, modification, distribution or other use of the TWAIN Toolkit.