Table of Contents

Class WebPOptions

Namespace
Aspose.Imaging.ImageOptions
Assembly
Aspose.Imaging.dll

Create modern WebP raster web images using our API, featuring robust support for lossless and lossy compression, as well as alpha channels and animation loops. Enhance your web content with dynamic visuals while optimizing file sizes for improved loading speeds and user experience.

public class WebPOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata
Inheritance
WebPOptions
Implements
Inherited Members

Constructors

WebPOptions()

public WebPOptions()

Properties

AnimBackgroundColor

Gets or sets the color of the animation background.

public uint AnimBackgroundColor { get; set; }

Property Value

uint

The color of the animation background.

AnimLoopCount

Gets or sets the animation loop count.

public ushort AnimLoopCount { get; set; }

Property Value

ushort

The animation loop count, 0 - infinity.

Lossless

Gets or sets a value indicating whether this WebPOptions is lossless.

public bool Lossless { get; set; }

Property Value

bool

true if lossless; otherwise, false.

Quality

Gets or sets the quality.

public float Quality { get; set; }

Property Value

float

The quality.