Export (0) Print
Expand All

IDXLUTBuilder::SetColorBalance Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets the tint curves for color balance operations on the selected color.

Syntax


HRESULT SetColorBalance(
    DXLUTCOLOR Color,
    ULONG ulCount,
    const float Weights[]
);

Parameters

Color
[in] Member of the DXLUTCOLOR enumeration that selects the color channel for this tint curve.
ulCount
[in] Number of values in the returned tint curve. This value should be less than or equal to 256.
Weights
[in] Array of values that is the tint curve used for color balancing.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

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.

Community Additions

ADD
Show:
© 2014 Microsoft