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
- Implements
-
System.
IDisposable
Constructors
View SourcePngEncoder()
Initializes a new instance of the Png
Declaration
public PngEncoder()
Remarks
Output
PngEncoder(PngCompression)
Initializes a new instance of the Png
Declaration
public PngEncoder(PngCompression compression)
Parameters
Type | Name | Description |
---|---|---|
Png |
compression | The compression level of the encoder. |
Remarks
Output
Exceptions
Type | Condition |
---|---|
System. |
|
Fields
View SourceDefaultCompression
A read-only field that represents the default value of Compression.
Declaration
public static readonly PngCompression DefaultCompression
Field Value
Type | Description |
---|---|
Png |
Properties
View SourceCompression
Gets or sets the compression level of the png image.
Declaration
public PngCompression Compression { get; set; }
Property Value
Type | Description |
---|---|
Png |
The compression level. The default is Level6. |
Exceptions
Type | Condition |
---|---|
System. |
|
Implements
System.IDisposable