Table of Contents

Enum GifDisposalMethod

Namespace
SixLabors.ImageSharp.Formats.Gif
Assembly
SixLabors.ImageSharp.dll

Provides enumeration for instructing the decoder what to do with the last image in an animation sequence. http://www.w3.org/Graphics/GIF/spec-gif89a.txt section 23

public enum GifDisposalMethod

Fields

NotDispose = 1

Do not dispose. The graphic is to be left in place.

RestoreToBackground = 2

Restore to background color. The area used by the graphic must be restored to the background color.

RestoreToPrevious = 3

Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.

Unspecified = 0

No disposal specified. The decoder is not required to take any action.