This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Todd Kneib  
#1 Posted : Wednesday, December 19, 2018 1:40:33 PM(UTC)
Todd Kneib

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

Eugene Kosmin  
#2 Posted : Friday, December 21, 2018 8:30:56 AM(UTC)
Eugene Kosmin

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

Todd Kneib  
#3 Posted : Friday, December 21, 2018 12:24:34 PM(UTC)
Todd Kneib

Rank: Advanced Member

Groups: Guest
Joined: 5/10/2006(UTC)
Posts: 32

Thanks: 6 times
I'll give that a shot, thanks.
Users browsing this topic
Guest (2)
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.