Interface IImageFormat
Defines the contract for an image format.
Namespace: SixLabors.ImageSharp.Formats
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IImageFormat
Properties
| Edit this page View SourceDefaultMimeType
Gets the default mimetype that the image format uses
Declaration
string DefaultMimeType { get; }
Property Value
Type | Description |
---|---|
string |
FileExtensions
Gets the file extensions this image format commonly uses.
Declaration
IEnumerable<string> FileExtensions { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
MimeTypes
Gets all the mimetypes that have been used by this image format.
Declaration
IEnumerable<string> MimeTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Name
Gets the name that describes this image format.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |