Class GifMetadata
- Namespace
- SixLabors.ImageSharp.Formats.Gif
- Assembly
- SixLabors.ImageSharp.dll
Provides Gif specific metadata information for the image.
public class GifMetadata : IDeepCloneable
- Inheritance
-
GifMetadata
- Implements
- Inherited Members
Constructors
GifMetadata()
Initializes a new instance of the GifMetadata class.
public GifMetadata()
Properties
BackgroundColorIndex
Gets or sets the index at the GlobalColorTable for the background color. The background color is the color used for those pixels on the screen that are not covered by an image.
public byte BackgroundColorIndex { get; set; }
Property Value
ColorTableMode
Gets or sets the color table mode.
public GifColorTableMode ColorTableMode { get; set; }
Property Value
Comments
Gets or sets the collection of comments about the graphics, credits, descriptions or any other type of non-control and non-graphic data.
public IList<string> Comments { get; set; }
Property Value
GlobalColorTable
Gets or sets the global color table, if any. The underlying pixel format is represented by Rgb24.
public ReadOnlyMemory<Color>? GlobalColorTable { get; set; }
Property Value
RepeatCount
Gets or sets the number of times any animation is repeated.
public ushort RepeatCount { get; set; }
Property Value
Methods
DeepClone()
public IDeepCloneable DeepClone()