ColorAdjustmentProvider.BrightnessContrast Method

Corrects brightness and contrast of the bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void BrightnessContrast(
	float brightnessAmount,
	float contrastAmount
)

Parameters

brightnessAmount

Type: System.Single

The brightness modifier in range [-1, 1].
contrastAmount

Type: System.Single

The contrast modifier in range [-1, 1]. Minimum value (-1) will produce absolutely gray image, neutral value (0) does no effect, maximum value (1) makes the image extremely posterized.

See Also

Reference