Class WebpFrameMetadata
Provides webp specific metadata information for the image frame.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Webp
Assembly: SixLabors.ImageSharp.dll
Syntax
public class WebpFrameMetadata : IDeepCloneable
Constructors
WebpFrameMetadata()
Initializes a new instance of the WebpFrameMetadata class.
Declaration
public WebpFrameMetadata()
Properties
BlendMethod
Gets or sets how transparent pixels of the current frame are to be blended with corresponding pixels of the previous canvas.
Declaration
public WebpBlendMethod BlendMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| WebpBlendMethod |
DisposalMethod
Gets or sets how the current frame is to be treated after it has been displayed (before rendering the next frame) on the canvas.
Declaration
public WebpDisposalMethod DisposalMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| WebpDisposalMethod |
FrameDelay
Gets or sets the frame duration. The time to wait before displaying the next frame, in 1 millisecond units. Note the interpretation of frame duration of 0 (and often smaller and equal to 10) is implementation defined.
Declaration
public uint FrameDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
DeepClone()
Creates a new object that is a deep copy of the current instance.
Declaration
public IDeepCloneable DeepClone()
Returns
| Type | Description |
|---|---|
| IDeepCloneable | The IDeepCloneable. |