Table of Contents

Interface IImageFormat

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

Defines the contract for an image format.

public interface IImageFormat

Properties

DefaultMimeType

Gets the default mimetype that the image format uses

string DefaultMimeType { get; }

Property Value

string

FileExtensions

Gets the file extensions this image format commonly uses.

IEnumerable<string> FileExtensions { get; }

Property Value

IEnumerable<string>

MimeTypes

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

IEnumerable<string> MimeTypes { get; }

Property Value

IEnumerable<string>

Name

Gets the name that describes this image format.

string Name { get; }

Property Value

string