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

ChannelsProvider.DiscardAlpha Method

Removes alpha channel from the current bitmap.

Overload List

Name Description
Public method DiscardAlpha()

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

Public method DiscardAlpha(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).

See Also

Reference