Class WebpFormat
- Namespace
- SixLabors.ImageSharp.Formats.Webp
- Assembly
- SixLabors.ImageSharp.dll
Registers the image encoders, decoders and mime type detectors for the Webp format.
public sealed class WebpFormat : IImageFormat<WebpMetadata, WebpFrameMetadata>, IImageFormat<WebpMetadata>, IImageFormat
- Inheritance
-
WebpFormat
- Implements
- Inherited Members
Properties
DefaultMimeType
Gets the default mimetype that the image format uses
public string DefaultMimeType { get; }
Property Value
FileExtensions
Gets the file extensions this image format commonly uses.
public IEnumerable<string> FileExtensions { get; }
Property Value
Instance
Gets the shared instance.
public static WebpFormat Instance { get; }
Property Value
MimeTypes
Gets all the mimetypes that have been used by this image format.
public IEnumerable<string> MimeTypes { get; }
Property Value
Name
Gets the name that describes this image format.
public string Name { get; }
Property Value
Methods
CreateDefaultFormatFrameMetadata()
Creates a default instance of the format frame metadata.
public WebpFrameMetadata CreateDefaultFormatFrameMetadata()
Returns
CreateDefaultFormatMetadata()
Creates a default instance of the format metadata.
public WebpMetadata CreateDefaultFormatMetadata()
Returns
- WebpMetadata
The WebpMetadata.