←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
C++
public int Lightness { get; set; } 
Public Property Lightness As Integer 
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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly