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
    object
    ImageEncoder
    WebPEncoder
    Implements
    System.IDisposable

    Constructors

    View Source

    WebPEncoder()

    Initializes a new instance of the WebPEncoder class.

    Declaration
    public WebPEncoder()
    Remarks

    OutputFormat will be the WebP.

    View Source

    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.
    The default value is false.

    Remarks

    OutputFormat will be the WebP.

    Properties

    View Source

    Lossless

    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.
    The default is false(lossy).

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX