ColorSwapFilter.SwapLuminance Property

Controls if the luminance should be included in the color swap.

Namespace: Lumia.Imaging.Artistic
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version:

function get_SwapLuminance();
function set_SwapLuminance(value);

Property Value

Type: Boolean

If SwapLuminance is set to false only the color components will be swapped, not the luminance.

If SwapLuminance is set to true the source color and the range specified with ColorDistance will be transformed to the exact color specified with SwapColor. Recommended value for best photo realistic results is to set SwapLuminance to false.

Default is false.

Lumia Imaging SDK

Supported in: 2.0