Interface IImageFormat
Defines the contract for an image format.
Namespace: SixLabors.ImageSharp.Formats
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IImageFormat
Properties
| Improve this Doc 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 |