GifGraphicDisposalMethod Enumeration

KGy SOFT Drawing Libraries Help
Indicates the way in which the graphic is to be treated after being displayed.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2

public enum GifGraphicDisposalMethod

  Member nameValueDescription
NotSpecified0 No disposal specified. The decoder is not required to take any action.
DoNotDispose1 Do not dispose. The graphic is to be left in place.
RestoreToBackground2 Restore to background color. The area used by the graphic must be restored to the background color. If there is no global palette, or the corresponding image has transparent color, then the virtual screen is always cleared to transparent.
RestoreToPrevious3 Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.
See Also