ICAP_BITDEPTHREDUCTION

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: ICAP_BITDEPTHREDUCTION

ICAP_BITDEPTHREDUCTION

Description

Specifies the Reduction Method the Source should use to reduce the bit depth of the data. Most commonly used with ICAP_PIXELTYPE = TWPT_BW to reduce gray data to black and white.

Application

Set the capability to the reduction method to be used in future acquisitions Also select the Halftone or Threshold to be used.

Values

Type: TW_UINT

Value after MSG_OPENDS: (may be remembered from a previous session)

After MSG_RESET/MSG_RESETALL: (selected by the data source writer)

Allowed Values: TWBR_THRESHOLD TWBR_HALFTONE TWBR_CUSTHALFTONE TWBR_DIFFUSION TWBR_DYNAMICTHRESHOLD

Containers

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

Required By

All Sources when ICAP_PIXELTYPE is TWPT_BW.

TWAIN Version Introduced

Version 1.5

Related

ICAP_CUSTHALFTONE ICAP_HALFTONES ICAP_PIXELTYPE ICAP_THRESHOLD

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET