myImage.Mutate(i => i.Saturate(2).Resize(new ResizeOptions { Mode = ResizeMode.Crop, Position = AnchorPositionMode.Center, Size = new Size(width, height) }));
I am trying to convert a Photoshop job to be done by ImageSharp in my .NET Core application - most of it goes well, see example above, but I miss 2 things;
How do I adjust Levels (like Image -> Adjustment -> Levels in Photoshop)?
How do I change number of colors used, want to go to e.g. 20 colors (like Image -> Mode -> Index Color in Photoshop)?
I need it to be done between Saturate and Resize if possible at all.