ColorScheme property (ILTImageEffects)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short ColorScheme

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the value indicating the color scheme to use when scanning in an image. Possible values are (according to the TWAIN 1.9 specification):

Value

Meaning

L_TWPT_BW

Black and White (1 bit).

L_TWPT_GRAY

8-bit Gray Scale

L_TWPT_RGB

24-bit RGB Color.

L_TWPT_PALETTE

8-bit Color.

L_TWPT_CMY

CYAN, magenta, yellow color space.

L_TWPT_CMYK

CYAN, magenta, yellow, black color space.

L_TWPT_YUV

Color space type that is true color encoding. It uses one luminance value (Y) and two chroma values (UV).

L_TWPT_YUVK

The same as YUV with an additional black variable.

L_TWPT_CIEXYZ

Chromaticity diagram.

This property is updated with the driver’s current setting when the GetProperties method is called.

To update the image effect options, set this property and the other ILTImageEffects properties accessed by the ImageEffects property and call the SetProperties method.

See Also

Elements

ImageEffects property, PixelFlavor property, HighLight property, Shadow property, Brightness property, Contrast property, HalfTone property, GetProperties method, SetProperties method

Topics

TWAIN Functionality: Driver Settings