ICAP_PIXELFLAVOR

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: ICAP_PIXELFLAVOR

ICAP_PIXELFLAVOR

Description

Sense of the pixel whose numeric value is zero (minimum data value). For example, consider a black and white image:

If ICAP_PIXELTYPE is TWPT_BW then

If ICAP_PIXELFLAVOR is TWPF_CHOCOLATE

then Black

Else if ICAP_PIXELFLAVOR is TWPF_VANILLA

then White

Application

Sources may prefer a different value depending on ICAP_PIXELTYPE. Set ICAP_PIXELTYPE and do a MSG_GETDEFAULT to determine the Source’s preferences.

Source

Values

TWPF_CHOCOLATE means this pixel represents the darkest data value that can be generated by the device (the darkest available optical value may measure greater than 0).

TWPF_VANILLA means this pixel represents the lightest data value that can be generated by the device (the lightest available optical value may measure greater than 0).

Type: TW_UINT

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

After MSG_RESET/MSG_RESETALL: TWPF_CHOCOLATE

Allowed Values: TWPF_CHOCOLATE TWPF_VANILLA

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 Image Sources

TWAIN Version Introduced

Version 1.0

Related

ICAP_PIXELTYPE

TWAIN Notice

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