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#Copypublic class WebPEncoder : ImageEncoder, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic 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#Copypublic WebPEncoder(bool lossless)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | lossless | The flag determining whether the compression is lossless or lossy: true for lossless, false for lossy. |
Remarks
OutputFormat will be the WebP.
API Level: 8
Properties
Declaration
C#Copypublic bool Lossless { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The property determining whether the WebP compression is lossless or lossy. |
API Level: 8
Implements
System.IDisposable