Welcome Guest! You need to login or register to make posts.

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: Member

Groups: Member
Joined: 5/10/2006(UTC)
Posts: 9

Thanks: 4 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: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 456

Was thanked: 28 time(s) in 28 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.
Aurigma Development Team
Todd Kneib  
#3 Posted : Friday, December 21, 2018 12:24:34 PM(UTC)
Todd Kneib

Rank: Member

Groups: Member
Joined: 5/10/2006(UTC)
Posts: 9

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