Class WebpMetadata
- Namespace
- SixLabors.ImageSharp.Formats.Webp
- Assembly
- SixLabors.ImageSharp.dll
Provides Webp specific metadata information for the image.
public class WebpMetadata : IDeepCloneable
- Inheritance
-
WebpMetadata
- Implements
- Inherited Members
Constructors
WebpMetadata()
Initializes a new instance of the WebpMetadata class.
public WebpMetadata()
Properties
BackgroundColor
Gets or sets the default background color of the canvas when animating. This color may be used to fill the unused space on the canvas around the frames, as well as the transparent pixels of the first frame. The background color is also used when the Disposal method is RestoreToBackground.
public Color BackgroundColor { get; set; }
Property Value
FileFormat
Gets or sets the webp file format used. Either lossless or lossy.
public WebpFileFormatType? FileFormat { get; set; }
Property Value
RepeatCount
Gets or sets the loop count. The number of times to loop the animation. 0 means infinitely.
public ushort RepeatCount { get; set; }
Property Value
Methods
DeepClone()
public IDeepCloneable DeepClone()