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.
|
|
|
|
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
|
1 user thanked Eugene Kosmin for this useful post.
|
|
|
Rank: Newbie
Groups: Member
Joined: 9/10/2023(UTC) Posts: 2
Thanks: 1 times
|
Thanks Eugene Kosmin, it is working correctly
|
|
|
|
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.