I'm porting an existing application to .net core and I need to adjust the gamma of an image using ImageSharp.
I've tried image.Mutate(i => i.Brightness(value));
but it's not quite the same result as the original code which changes the gamma.
The original code uses imgAttribs.SetGamma(value, ColorAdjustType.Bitmap);
but I can't use System.Drawing.Common
as it's missing a dependency on AWS Lambda.
Is it possible to change the gamma using ImageSharp, if yes, how?