Adjusts image contrast.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Contrast ( _ amount As Single _ )
public void Contrast( float amount )
Type: System.Single
Value in range [-1, 1] that specifies contrast modifier.You can also use Contrast class to apply this correction.
Parameter amount is normalized to 1. Depending on pixel format it is scaled to 255 or 65355 inside of the method.
bitmap.ColorAdjustment.Contrast(0.2F)
bitmap.ColorAdjustment.Contrast(0.2F);