mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
641 B
20 lines
641 B
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
namespace SixLabors.ImageSharp.Formats.Webp;
|
|
|
|
/// <summary>
|
|
/// Indicates how the current frame is to be treated after it has been displayed (before rendering the next frame) on the canvas.
|
|
/// </summary>
|
|
public enum WebpDisposalMethod
|
|
{
|
|
/// <summary>
|
|
/// Do not dispose. Leave the canvas as is.
|
|
/// </summary>
|
|
DoNotDispose = 0,
|
|
|
|
/// <summary>
|
|
/// Dispose to background color. Fill the rectangle on the canvas covered by the current frame with background color specified in the ANIM chunk.
|
|
/// </summary>
|
|
RestoreToBackground = 1
|
|
}
|
|
|