ColorSpace property (LEADDlgColor Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_INT ColorSpace

Delphi Syntax

ColorSpace: L_INT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the color space to be used.

This property is associated with the following dialog boxes:

LocalHistoEqualize dialog box

In this case it represents the color space to equalize. Possible values are:

 

Value

Meaning

 

RGB_SPACE

[$0001] Linearize the number of pixels across the RGB color space. (Separated channels)

 

YUV_SPACE

[$0002] Linearize the number of pixels across the YUV color space. (Best results)

 

GRAY_SPACE

[$0004] Linearize the number of pixels per gray level in a gray level representation of the image.

Color dialog box

In this case it represents the color box selected when the color dialog box closed. Possible values are:

 

Value

Meaning

 

DLG_COLOR_COLORSPACE_SHOW_HUE

[$00000010] HSB-Hue Based color space.

 

DLG_COLOR_COLORSPACE_SHOW_BRIGHTNESS

[$00000020] HSB-Brightness Based color space.

 

DLG_COLOR_COLORSPACE_SHOW_WHEEL

[$00000040] HSB-Wheel Based color space.

 

DLG_COLOR_COLORSPACE_SHOW_RGB

[$00000080] RGB-3D Additive color space.

 

DLG_COLOR_COLORSPACE_SHOW_CMY

[$00000100] CMY-3D Subtractive color space.

 

DLG_COLOR_COLORSPACE_SHOW_CMYK

[$00000200] CMYK-3D Subtractive color space.

 

DLG_COLOR_COLORSPACE_SHOW_LAB

[$00000400] LAB- Device Independent color space.

See Also

Elements:

ShowLocalHistoEqualizeDlg method, ShowColorDlg method, RectWidth property, RectHeight property, XExtension property, YExtension property, SmoothSize property, SelectedColor property, ColorModel property, UserPaletteColors property, UserPaletteColorsCount property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events