LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Gamma Property
See Also 



Gets or sets a value that represents the gamma value. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Gamma As Integer
Visual Basic (Usage)Copy Code
Dim instance As ColorLevelCommandData
Dim value As Integer
 
instance.Gamma = value
 
value = instance.Gamma
C# 
public int Gamma {get; set;}
C++/CLI 
public:
property int Gamma {
   int get();
   void set (    int value);
}

Property Value

Value that represents the gamma value. This value is used to modify the midtones of the image. The value in this member is a 100 times the actual value. Therefore, if uGamma = 167 then the actual gamma value is 1.67. Likewise, if you want to use a gamma of 1.75, set this property to 175. The default value is DEFAULT_GAMMA, which is 100 (actual gamma value of 1.00) which does not change the gamma value of the image.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also