Table of Contents

Class AniFormat

Namespace
SixLabors.ImageSharp.Formats.Ani
Assembly
SixLabors.ImageSharp.dll

Describes the ANI image format.

public sealed class AniFormat : IImageFormat<AniMetadata, AniFrameMetadata>, IImageFormat<AniMetadata>, IImageFormat
Inheritance
AniFormat
Implements
Inherited Members

Properties

DefaultMimeType

Gets the default mime type that the image format uses

public string DefaultMimeType { get; }

Property Value

string

FileExtensions

Gets the file extensions this image format commonly uses.

public IEnumerable<string> FileExtensions { get; }

Property Value

IEnumerable<string>

Instance

Gets the shared instance.

public static AniFormat Instance { get; }

Property Value

AniFormat

MimeTypes

Gets all the mime types that have been used by this image format.

public IEnumerable<string> MimeTypes { get; }

Property Value

IEnumerable<string>

Name

Gets the name that describes this image format.

public string Name { get; }

Property Value

string

Methods

CreateDefaultFormatFrameMetadata()

Creates a default instance of the format frame metadata.

public AniFrameMetadata CreateDefaultFormatFrameMetadata()

Returns

AniFrameMetadata

The AniFrameMetadata.

CreateDefaultFormatMetadata()

Creates a default instance of the format metadata.

public AniMetadata CreateDefaultFormatMetadata()

Returns

AniMetadata

The AniMetadata.