Class WebPEncoder

Definition

Namespace:
Tizen.Multimedia.Util
Assembly:
Tizen.Multimedia.Util.dll
API Level:
8

Provides the ability to encode the WebP (Lossless and lossy compression for images on the web) format images.

C#
Copy
public class WebPEncoder : ImageEncoder, IDisposable
Inheritance
System.Object
WebPEncoder
Implements
System.IDisposable

Constructors

View Source

WebPEncoder()

Initializes a new instance of the WebPEncoder class.

Declaration
C#
Copy
public WebPEncoder()
Remarks

OutputFormat will be the WebP.

API Level: 8
View Source

WebPEncoder(Boolean)

Initializes a new instance of the WebPEncoder class with the information for lossless or lossy compression.

Declaration
C#
Copy
public WebPEncoder(bool lossless)
Parameters
Type Name Description
Boolean lossless

The flag determining whether the compression is lossless or lossy: true for lossless, false for lossy.
The default value is false.

Remarks

OutputFormat will be the WebP.

API Level: 8

Properties

View Source

Lossless

Gets or sets the lossless or lossy WebP compression.

Declaration
C#
Copy
public bool Lossless { get; set; }
Property Value
Type Description
Boolean

The property determining whether the WebP compression is lossless or lossy.
The default is false(lossy).

API Level: 8

Implements

System.IDisposable