ChannelsProvider.RemoveAlpha Method (Color)

Removes the alpha channel from the current bitmap. The alpha channel is flattened using specified color (i.e. each pixel is alpha-blended with this color).

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

Syntax

C#
public void RemoveAlpha(
	Color backgroundColor
)

Parameters

backgroundColor

Type: Aurigma.GraphicsMill.Color

The Color to blend semi-transparent areas with.

Remarks

If you do not want to flatten the alpha channel, use RemoveAlpha() version of this method.

See Also

Reference