Table of Contents

Enum BackgroundColorHandling

Namespace
SixLabors.ImageSharp.Formats.Webp
Assembly
SixLabors.ImageSharp.dll

Enum to decide how to handle the background color of the Animation chunk during decoding.

public enum BackgroundColorHandling

Fields

Ignore = 1

The background color of the ANIM chunk is ignored and instead the canvas is initialized with transparent, BGRA(0, 0, 0, 0).

Standard = 0

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.