Class PngEncoder

Definition

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

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

C#
Copy
public class PngEncoder : ImageEncoder
Inheritance
PngEncoder

Constructors

View Source

PngEncoder()

Initializes a new instance of the PngEncoder class.

Declaration
C#
Copy
public PngEncoder()
Remarks

OutputFormat will be the Png.

API Level: 4
View Source

PngEncoder(PngCompression)

Initializes a new instance of the PngEncoder class with PngCompression.

Declaration
C#
Copy
public PngEncoder(PngCompression compression)
Parameters
Type Name Description
PngCompression compression

The compression level of the encoder.

Remarks

OutputFormat will be the Png.

API Level: 4

Fields

View Source

DefaultCompression

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

Declaration
C#
Copy
public static readonly PngCompression DefaultCompression
Field Value
Type Description
PngCompression
API Level: 4

Properties

View Source

Compression

Gets or sets the compression level of the png image.

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

The compression level. The default is Level6.

API Level: 4

Extension Methods