Class JpegEncoder
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to encode the Joint Photographic Experts Group (JPEG) format images.
C#Copypublic class JpegEncoder : ImageEncoder, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic JpegEncoder()
Remarks
OutputFormat will be the Jpeg.
View Source
JpegEncoder(int)
Initializes a new instance of the JpegEncoder class with initial quality value.
Declaration
C#Copypublic JpegEncoder(int quality)
Parameters
| Type | Name | Description |
|---|---|---|
| int | quality | The quality for JPEG image encoding; from 1(lowest quality) to 100(highest quality). |
Remarks
OutputFormat will be the Jpeg.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException |
|
Fields
Declaration
C#Copypublic static readonly int DefaultQuality
Field Value
| Type | Description |
|---|---|
| int |
Properties
Declaration
C#Copypublic int Quality { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The quality of the output image. The default is 75. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException |
|
Implements
System.IDisposable