GifAlphaMode Enum

Controls how the GIF encoder maps alpha to GIF's single fully transparent palette entry.

public enum GifAlphaMode

Fields

NameValueDescription
Threshold0Pixels whose alpha is below GifEncoder.AlphaThreshold become fully transparent; the others become fully opaque. This is the default.
Flatten1Composites every pixel over GifEncoder.BackgroundColor, producing a fully opaque image.