Class GifEncoder
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to encode the Graphics Interchange Format (GIF) format images.
public class GifEncoder : ImageEncoder, IDisposable
- Inheritance
- Implements
-
System.
IDisposable
Constructors
View SourceGifEncoder()
Initializes a new instance of the Gif
Declaration
public GifEncoder()
Remarks
Output
Methods
View SourceEncodeAsync(IEnumerable<GifFrame>, Stream)
Encodes a Graphics Interchange Format (GIF) image from multiple raw image buffers to a specified System.
Declaration
public Task EncodeAsync(IEnumerable<GifFrame> frames, Stream outStream)
Parameters
Type | Name | Description |
---|---|---|
System. |
frames | The image frames to encode. |
System. |
outStream | The stream that the image is encoded to. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous encoding operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The resolution is not set. |
System. |
The Image |
See Also
Implements
System.IDisposable