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

Notification

Icon
Error

Options
Go to last post Go to first unread
vinodsnayvik  
#1 Posted : Sunday, September 10, 2023 11:31:37 PM(UTC)
vinodsnayvik

Rank: Newbie

Groups: Member
Joined: 9/10/2023(UTC)
Posts: 2

Thanks: 1 times
Hi,

I want to create two filter using Aurigma Graphics mill library. I can do black and white filter using

newBitmap.ColorManagement.Convert(PixelFormat.Format1bppIndexed)

But I did not get any filter for sepia.

Eugene Kosmin  
#2 Posted : Tuesday, September 12, 2023 11:10:15 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 505

Was thanked: 41 time(s) in 41 post(s)
Hi,

Please try the following code:

Code:
bitmap.ColorManagement.Convert(Aurigma.GraphicsMill.ColorSpace.Rgb, false, false);
bitmap.ColorAdjustment.Desaturate();
                
float[] addends = { 0.0F, 0.05F, 0.1F, 0.0F };
float[] multipliers = { 1.0F, 1.0F, 1.0F, 1.0F };
                
bitmap.ColorAdjustment.ChannelBalance(addends, multipliers);
Best regards,

Eugene Kosmin

The Aurigma Development Team

thanks 1 user thanked Eugene Kosmin for this useful post.
vinodsnayvik on 9/13/2023(UTC)
vinodsnayvik  
#3 Posted : Wednesday, September 13, 2023 2:30:57 AM(UTC)
vinodsnayvik

Rank: Newbie

Groups: Member
Joined: 9/10/2023(UTC)
Posts: 2

Thanks: 1 times
Thanks Eugene Kosmin,

it is working correctly

Users browsing this topic
Guest
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.