Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

ChannelsProvider.DiscardAlpha Method (Color)

Removes alpha channel from the current bitmap. 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

Visual Basic
Public Sub DiscardAlpha ( _
	backgroundColor As Color _
)
C#
public void DiscardAlpha(
	Color backgroundColor
)

Parameters

backgroundColor

Type: Aurigma.GraphicsMill.Color

Color value specifying a color to blend semi-transparent areas with.

Remarks

If you do not want to flatten the alpha channel, use another overloaded version of this method without arguments.

See Also

Reference