This documentation is for the old version. Go to the latest Graphics Mill docs

ColorAdjustmentProvider.Desaturate Method

Desaturates the image.

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

Syntax

Visual Basic
Public Sub Desaturate
C#
public void Desaturate()

Remarks

You can also use AdjustHsl class with Saturation = -1 to get the desaturated image.

Examples

Visual Basic
bitmap.ColorAdjustment.Desaturate()
C#
bitmap.ColorAdjustment.Desaturate();

See Also

Reference