Auto Contrast
Adjusts contract automatically.
Сode Snippet
using (var bitmap = new Bitmap("Chicago.jpg"))
{
bitmap.ColorAdjustment.AutoContrast();
bitmap.Save("AutoContrast.jpg");
}
Input
Chicago.jpg
Output
AutoContrast.jpg
For AI-assisted development: Download Graphics Mill Code Samples XML Catalog