Class PngEncoder
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to encode the Portable Network Graphics (PNG) format images.
C#Copypublic class PngEncoder : ImageEncoder, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic PngEncoder()
Remarks
OutputFormat will be the Png.
View Source
PngEncoder(PngCompression)
Initializes a new instance of the PngEncoder class with PngCompression.
Declaration
C#Copypublic 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 |
|
Fields
Declaration
C#Copypublic static readonly PngCompression DefaultCompression
Field Value
| Type | Description |
|---|---|
| PngCompression |
Properties
Declaration
C#Copypublic PngCompression Compression { get; set; }
Property Value
| Type | Description |
|---|---|
| PngCompression | The compression level. The default is Level6. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException |
|
Implements
System.IDisposable