LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)
LEAD Technologies, Inc

Lightness Property






Gets or sets a "percentage" value that indicates whether the pixels that are replaced are lightened or darkened. .NET support WinRT support
Syntax
public int Lightness {get; set;}
'Declaration
 
Public Property Lightness As Integer
'Usage
 
Dim instance As RemoveRedEyeCommand
Dim value As Integer
 
instance.Lightness = value
 
value = instance.Lightness
public int Lightness {get; set;}
 get_Lightness();
set_Lightness(value);
public:
property int Lightness {
   int get();
   void set (    int value);
}

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RemoveRedEyeCommand Class
RemoveRedEyeCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.