Dynamsoft Home|Product Home

ICAP_PIXELTYPE

Description:

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

 

Remarks:

CapGet() returns a list of all pixel types available from the Source.

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

CapSet() on a TW_ONEVALUE container specifies the only pixel type the application can accept.

 

Data type:

Integer

 

Default value:

No default

 

Allowed values:

TWPT_BW(0), TWPT_GRAY(1), TWPT_RGB(2), TWPT_PALETTE(3), TWPT_CMY(4), TWPT_CMYK(5), TWPT_YUV(6), TWPT_YUVK(7), TWPT_CIEXYZ(8)

 

CapType for GET:

TW_ENUMERATION, TW_ONEVALUE

 

CapType for SET: 

TW_ENUMERATION, TW_ONEVALUE

 

See also:

ICAP_BITDEPTH, ICAP_BITDEPTHREDUCTION