Enum BackgroundColorHandling
Enum to decide how to handle the background color of the Animation chunk during decoding.
Namespace: SixLabors.ImageSharp.Formats.Webp
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum BackgroundColorHandling
Fields
Name | Description |
---|---|
Ignore | The background color of the ANIM chunk is ignored and instead the canvas is initialized with transparent, BGRA(0, 0, 0, 0). |
Standard | The background color of the ANIM chunk will be used to initialize the canvas to fill the unused space on the canvas around the frame. Also, if AnimationDisposalMethod.Dispose is used, this color will be used to restore the canvas background. |