Graphics Mill provides a number of algorithms to correct the bitmap colors and tone range. Topics in this section demonstrate how to use these algorithms.
All tone and color adjusting operations in Graphics Mill can be applied in two ways:
bitmap.ColorAdjustment.Brightness(0.2f);
using (var bitmap = new Bitmap(@"Images\in.jpg")) using (var brightness = new Brightness()) { brightness.Auto = false; brightness.Amount = 0.2f; using (var newbitmap = brightness.Apply(bitmap)) newbitmap.Save(@"Images\Output\out.jpg"); }
Below you can find an overview of tone and color correction techniques implemented in Graphics Mill as well as code examples for both techniques.
Brightness and Contrast
Advanced Tone Correction
Color Adjustment