Class GifFormat
Registers the image encoders, decoders and mime type detectors for the gif format.
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Gif
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class GifFormat : IImageFormat<GifMetadata, GifFrameMetadata>, IImageFormat<GifMetadata>, IImageFormatProperties
| Improve this Doc View SourceDefaultMimeType
Gets the default mimetype that the image format uses
Declaration
public string DefaultMimeType { get; }Property Value
| Type | Description | 
|---|---|
| String | 
FileExtensions
Gets the file extensions this image format commonly uses.
Declaration
public IEnumerable<string> FileExtensions { get; }Property Value
| Type | Description | 
|---|---|
| IEnumerable<String> | 
Instance
Gets the current instance.
Declaration
public static GifFormat Instance { get; }Property Value
| Type | Description | 
|---|---|
| GifFormat | 
MimeTypes
Gets all the mimetypes that have been used by this image format.
Declaration
public IEnumerable<string> MimeTypes { get; }Property Value
| Type | Description | 
|---|---|
| IEnumerable<String> | 
Name
Gets the name that describes this image format.
Declaration
public string Name { get; }Property Value
| Type | Description | 
|---|---|
| String | 
Methods
| Improve this Doc View SourceCreateDefaultFormatFrameMetadata()
Creates a default instance of the format frame metadata.
Declaration
public GifFrameMetadata CreateDefaultFormatFrameMetadata()Returns
| Type | Description | 
|---|---|
| GifFrameMetadata | The  | 
CreateDefaultFormatMetadata()
Creates a default instance of the format metadata.
Declaration
public GifMetadata CreateDefaultFormatMetadata()Returns
| Type | Description | 
|---|---|
| GifMetadata | The  |