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

Saturation Property (ChangeHueSaturationIntensityCommand)






Gets or sets a value that represents the percentage amount to change saturation, in tenths of percent. .NET support WinRT support Silverlight support
Syntax
public int Saturation {get; set;}
'Declaration
 
Public Property Saturation As Integer
'Usage
 
Dim instance As ChangeHueSaturationIntensityCommand
Dim value As Integer
 
instance.Saturation = value
 
value = instance.Saturation
public int Saturation {get; set;}
 get_Saturation();
set_Saturation(value);
public:
property int Saturation {
   int get();
   void set (    int value);
}

Property Value

Percentage amount to change saturation, in tenths of a percent. Valid values range from -1000 through 1000. This value is divided internally by 10. Negative values decrease the saturation of colors. Positive values increase the saturation. The saturation level is increased or decreased by a percentage of its present saturation level. For example, an increase of 20 of the current saturation level "L" will raise the new saturation level "L1" to a value L = 0.20 * L. Likewise, increasing the saturation level 100 doubles the saturation level (L1 = L + 1.0 * L). Decreasing the saturation level 100 will set the new saturation level to 0. This process is carried out for every pixel. The saturation is set to 1000 (maximum value) if the new value exceeds 1000).
Example
Refer to ChangeHueSaturationIntensityCommand.
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

ChangeHueSaturationIntensityCommand Class
ChangeHueSaturationIntensityCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

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