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

ChannelsProvider.DiscardAlpha Method

Removes alpha channel from the current bitmap. Alpha channel is just discarded without affecting other channels of the pixel.

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

Syntax

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

Remarks

This overloaded method does not flatten the alpha channel (it will be discarded without additional processing). If you need to flatten alpha channel by blending it with some color, use another overloaded version of this method with Aurigma.GraphicsMill.Color argument.

See Also

Reference