DTwainAcquirer::GetColorType

Top  Previous  Next

Syntax

 

DTwainColorType DTwainAcquirer::GetColorType( ) const;

 

Return Value

Returns a DTwainColorType that describes the type of color used when acquiring images.

 

 

 

Comments

 

 

The DTwainColorType can be one of the following:

 

Color Type

Description

COLORTYPE_DEFAULT

Use Twain device's default color setting

COLORTYPE_BW

Use black and white color for acquired images (used for acquiring 1 bit-per-pixel b/w images)

COLORTYPE_RGB

Use RGB color for acquired images (used for acquiring gray-scale and most color images).

COLORTYPE_PALETTE

Use Palette color for acquired images.

COLORTYPE_CMYK

Use CMYK color for acquired images

COLORTYPE_YUV

Use YUV color for acquired images

COLORTYPE_YUVK

Use YUVK color for acquired images.

COLORTYPE_CIEXYZ

Use CIEXYZ color for acquired images.