Class GifFrameMetadata
Provides Gif specific metadata information for the image frame.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Gif
Assembly: SixLabors.ImageSharp.dll
Syntax
public class GifFrameMetadata : IDeepCloneableConstructors
| Improve this Doc View SourceGifFrameMetadata()
Initializes a new instance of the GifFrameMetadata class.
Declaration
public GifFrameMetadata()Properties
| Improve this Doc View SourceColorTableLength
Gets or sets the length of the color table for paletted images. If not 0, then this field indicates the maximum number of colors to use when quantizing the image frame.
Declaration
public int ColorTableLength { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
DisposalMethod
Gets or sets the disposal method for animated images. Primarily used in Gif animation, this field indicates the way in which the graphic is to be treated after being displayed.
Declaration
public GifDisposalMethod DisposalMethod { get; set; }Property Value
| Type | Description | 
|---|---|
| GifDisposalMethod | 
FrameDelay
Gets or sets the frame delay for animated images. If not 0, when utilized in Gif animation, this field specifies the number of hundredths (1/100) of a second to wait before continuing with the processing of the Data Stream. The clock starts ticking immediately after the graphic is rendered.
Declaration
public int FrameDelay { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
Methods
| Improve this Doc View SourceDeepClone()
Creates a new object that is a deep copy of the current instance.
Declaration
public IDeepCloneable DeepClone()Returns
| Type | Description | 
|---|---|
| IDeepCloneable | The IDeepCloneable. |