Class WebPEncoder
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to encode the WebP (Lossless and lossy compression for images on the web) format images.
public class WebPEncoder : ImageEncoder, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceWebPEncoder()
Initializes a new instance of the WebPEncoder class.
Declaration
public WebPEncoder()
Remarks
OutputFormat will be the WebP.
WebPEncoder(bool)
Initializes a new instance of the WebPEncoder class with the information for lossless or lossy compression.
Declaration
public WebPEncoder(bool lossless)
Parameters
Type | Name | Description |
---|---|---|
bool | lossless | The flag determining whether the compression is lossless or lossy: true for lossless, false for lossy. |
Remarks
OutputFormat will be the WebP.
Properties
View SourceLossless
Gets or sets the lossless or lossy WebP compression.
Declaration
public bool Lossless { get; set; }
Property Value
Type | Description |
---|---|
bool | The property determining whether the WebP compression is lossless or lossy. |
Implements
System.IDisposable