←Select platform

Gamma Property

Summary

Gets or sets a value that represents the gamma value.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int Gamma { get; set; } 
Public Property Gamma As Integer 
public int Gamma {get; set;} 
@property (nonatomic, assign) NSUInteger gamma 
public int getGamma() 
public void setGamma(int value) 
             
 <br/>get_Gamma();<br/>set_Gamma(value);<br/>Object.defineProperty('Gamma');  
public: 
property int Gamma { 
   int get(); 
   void set (    int ); 
} 

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

Refer to ColorLevelCommand.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly