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

TransformsProvider.Sharpen Method

Applies simple sharpen effect on the image.

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

Syntax

Visual Basic
Public Sub Sharpen ( _
	strength As Integer _
)
C#
public void Sharpen(
	int strength
)

Parameters

strength

Type: System.Int32

Value in range [0, 100] specifying sharpening strength. Minimum value makes no changes, maximum value produces maximum sharpening effect.

Remarks

You can also use Sharpen class to apply this effect. Besides, you can use more advanced sharpen algorithm implemented in the UnsharpMask(Single, Single, Single) method (and appropriate UnsharpMask transform class).

Examples

Visual Basic
'Sharpen the image (strongly)
bitmap.Transforms.Sharpen(95)
C#
//Sharpen the image (strongly)
bitmap.Transforms.Sharpen(95);

See Also

Reference