ICAP_PIXELTYPE

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: ICAP_PIXELTYPE

ICAP_PIXELTYPE

Description

The type of pixel data that a Source is capable of acquiring (for example, black and white, gray, RGB, etc.).

Application

MSG_GET returns a list of all pixel types available from the Source.

MSG_SET on a TW_ENUMERATION structure requests that the Source restrict the available pixel types to the enumerated list.

MSG_SET on a TW_ONEVALUE container specifies the only pixel type the application can accept.

If the application plans to transfer data through any mechanism other than Native and cannot handle all possible ICAP_PIXELTYPEs, it must support negotiation of this ICAP.

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: TWPT_BW

TWPT_GRAY TWPT_RGB TWPT_PALETTE TWPT_CMY TWPT_CMYK TWPT_YUV TWPT_YUVK TWPT_CIEXYZ TWPT_LAB TWPT_SRGB TWPT_SRGB TWPT_BGR TWPT_CIELAB TWPT_CIELUV TWPT_YCBCR TWPT_INFRARED

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_BITDEPTH ICAP_BITDEPTHREDUCTION

TWAIN Notice

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