GetColorBalance method

Retrieves the tint curves used for color balance operations on the selected color.

Syntax


HRESULT retVal = object.GetColorBalance(Color, pulCount, Weights);

Parameters

Color [in]

Type: DXLUTCOLOR

Member of the DXLUTCOLOR enumeration that selects the color channel for this tint curve.

pulCount [in, out]

Type: unsigned long

Pointer to the number of values in the returned tint curve.

Weights [out]

Type: float

Array of values that is the tint curve used for color balancing.

Remarks

A tint curve is a separate brightness curve for each color channel. This gives you finer control over the output colors than the brightness adjustment alone.

 

 

Show: