TransformsProvider.Transparentize Method (Color)

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

Syntax

C#
public void Transparentize(
	Color backgroundColor
)

Parameters

backgroundColor

Type: Aurigma.GraphicsMill.Color

The background color.

Examples

C#
using (var bitmap = new Bitmap(@"Images\GMlogoBlack.png"))
{

    bitmap.Transforms.Transparentize(new RgbColor(0, 0, 0));
    bitmap.Save(@"Images\Output\Output\out.png");
}

See Also

Reference