Class GifMetadata
Provides Gif specific metadata information for the image.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Gif
Assembly: SixLabors.ImageSharp.dll
Syntax
public class GifMetadata : IDeepCloneable
Constructors
| Edit this page View SourceGifMetadata()
Initializes a new instance of the GifMetadata class.
Declaration
public GifMetadata()
Properties
| Edit this page View SourceBackgroundColorIndex
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.
Declaration
public byte BackgroundColorIndex { get; set; }
Property Value
Type | Description |
---|---|
byte |
ColorTableMode
Gets or sets the color table mode.
Declaration
public GifColorTableMode ColorTableMode { get; set; }
Property Value
Type | Description |
---|---|
GifColorTableMode |
Comments
Gets or sets the collection of comments about the graphics, credits, descriptions or any other type of non-control and non-graphic data.
Declaration
public IList<string> Comments { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
GlobalColorTable
Gets or sets the global color table, if any. The underlying pixel format is represented by Rgb24.
Declaration
public ReadOnlyMemory<Color>? GlobalColorTable { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyMemory<Color>? |
RepeatCount
Gets or sets the number of times any animation is repeated.
Declaration
public ushort RepeatCount { get; set; }
Property Value
Type | Description |
---|---|
ushort |
Methods
| Edit this page 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. |