←Select platform

Gamma Property

Summary

Gets or sets a value that represents the gamma value.

Syntax
C#
VB
Objective-C
C++
Java
public int Gamma { get; set; } 
Public Property Gamma As Integer 
@property (nonatomic, assign) NSUInteger gamma 
public int getGamma() 
public void setGamma(int value) 
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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly