Class WebpMetadata
Provides Webp specific metadata information for the image.
Implements
Namespace: SixLabors.ImageSharp.Formats.Webp
Assembly: SixLabors.ImageSharp.dll
Syntax
public class WebpMetadata : object, IDeepCloneable
Constructors
| Improve this Doc View SourceWebpMetadata()
Initializes a new instance of the WebpMetadata class.
Declaration
public WebpMetadata()
Properties
| Improve this Doc View SourceAnimationLoopCount
Gets or sets the loop count. The number of times to loop the animation. 0 means infinitely.
Declaration
public ushort AnimationLoopCount { get; set; }
Property Value
Type | Description |
---|---|
UInt16 |
FileFormat
Gets or sets the webp file format used. Either lossless or lossy.
Declaration
public WebpFileFormatType? FileFormat { get; set; }
Property Value
Type | Description |
---|---|
Nullable<WebpFileFormatType> |
Methods
| Improve this Doc View SourceDeepClone()
Creates a new object that is a deep copy of the current instance.
Declaration
public IDeepCloneable DeepClone()
Returns
Type | Description |
---|---|
IDeepCloneable | The IDeepCloneable. |