←Select platform

Lightness Property

Summary

Gets or sets a "percentage" value that indicates whether the pixels that are replaced are lightened or darkened.

Syntax

C#
VB
WinRT C#
C++
public int Lightness {get; set;}
Public Property Lightness As Integer
public int Lightness {get; set;}
get_Lightness(); 
set_Lightness(value); 
Object.defineProperty('Lightness'); 
public: 
property int Lightness { 
   int get(); 
   void set (    int ); 
} 

Property Value

"Percentage" value that indicates whether the pixels that are replaced are lightened or darkened. If this value is greater than 100, the replaced pixels will be lightened. If this value is less than 100, the replaced pixels will be darkened. This method preserves the lightness of the original pixels and substitutes the red color with the new color.

Example

Refer to RemoveRedEyeCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ImageProcessing.Color Assembly
Click or drag to resize