WebPOptions Class

Summary: 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.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.WebPOptions

Inheritance: ImageOptionsBase

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
WebPOptions()Initializes a new instance of the WebPOptions class.

Properties

NameTypeAccessDescription
anim_background_coloruintr/wGets or sets the color of the animation background.
anim_loop_countushortr/wGets or sets the animation loop count.
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
disposedboolrGets a value indicating whether this instance is disposed.
full_frameboolr/wGets or sets a value indicating whether [full frame].
losslessboolr/wGets or sets a value indicating whether this WebPOptions is lossless.
multi_page_optionsMultiPageOptionsr/wThe multipage options
paletteIColorPaletter/wGets or sets the color palette.
qualityfloatr/wGets or sets the quality.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
sourceSourcer/wGets or sets the source to create image in.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.

Constructor: WebPOptions()

 WebPOptions() 

Initializes a new instance of the WebPOptions class.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns shallow copy of this instance