AlphaOption Enum
Whether the alpha channel of a source is kept (https://w3c.github.io/webcodecs/#enumdef-alphaoption).
public enum AlphaOptionFields
| Name | Value | Description |
|---|---|---|
Keep | 0 | The alpha channel is kept. |
Discard | 1 | The alpha channel is discarded: the frame has the equivalent opaque format. |