Class PngEncoder

    Definition

    Namespace:
    Tizen.Multimedia.Util
    Assembly:
    Tizen.Multimedia.Util.dll

    Provides the ability to encode the Portable Network Graphics (PNG) format images.

    public class PngEncoder : ImageEncoder, IDisposable
    Inheritance
    object
    ImageEncoder
    PngEncoder
    Implements
    System.IDisposable

    Constructors

    View Source

    PngEncoder()

    Initializes a new instance of the PngEncoder class.

    Declaration
    public PngEncoder()
    Remarks

    OutputFormat will be the Png.

    View Source

    PngEncoder(PngCompression)

    Initializes a new instance of the PngEncoder class with PngCompression.

    Declaration
    public PngEncoder(PngCompression compression)
    Parameters
    Type Name Description
    PngCompression compression

    The compression level of the encoder.

    Remarks

    OutputFormat will be the Png.

    Exceptions
    Type Condition
    System.ArgumentException

    compression is invalid.

    Fields

    View Source

    DefaultCompression

    A read-only field that represents the default value of Compression.

    Declaration
    public static readonly PngCompression DefaultCompression
    Field Value
    Type Description
    PngCompression

    Properties

    View Source

    Compression

    Gets or sets the compression level of the png image.

    Declaration
    public PngCompression Compression { get; set; }
    Property Value
    Type Description
    PngCompression

    The compression level. The default is Level6.

    Exceptions
    Type Condition
    System.ArgumentException

    value is invalid.

    Implements

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