| 
Rank: Advanced Member
 Groups: Guest
Joined: 5/10/2006(UTC)
 Posts: 32
 
 Thanks: 6 times
 | 
            
	      
                We are upgrading from 5.5.6 to 9.3.7 and we are using the Lut.BuildFromGamma  method, but it is no longer there.  The upgrading  document does not mention it. Is there somewhere we can get that method? There are several others too that look like they may be useful in our upcoming project. Edited by user Thursday, December 20, 2018 2:05:40 PM(UTC)
 | Reason: Not specified | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
         
		   
        
            
            
	
    | 
Rank: Advanced Member
 Groups: Guest
Joined: 9/19/2006(UTC)
 Posts: 505
 
 Was thanked: 41 time(s) in 41 post(s)
 | 
            
	      
                Hi,  Please try to use the following code for changing gamma: Code:using (var bitmap = new Bitmap(inPath))            
{
    float gamma = 1.1f;
    bitmap.ColorAdjustment.Levels(0, 1, 0, gamma, 1, HistogramMode.Luminosity);
    bitmap.Save(outPath);
}
 | 
| Best regards,Eugene Kosmin
 The Aurigma Development Team
 | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
    
		
        
            
            
	
    | 
Rank: Advanced Member
 Groups: Guest
Joined: 5/10/2006(UTC)
 Posts: 32
 
 Thanks: 6 times
 | 
            
	      
                I'll give that a shot, thanks. | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
    
    
        Forum Jump
         
    
    You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.