Class GifEncoder
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
- API Level:
- 4
Provides the ability to encode the Graphics Interchange Format (GIF) format images.
C#Copypublic class GifEncoder : ImageEncoder
- Inheritance
Constructors
Declaration
C#Copypublic GifEncoder()
Remarks
OutputFormat will be the Gif.
API Level: 4
Methods
View Source
EncodeAsync(IEnumerable<GifFrame>, Stream)
Encodes a Graphics Interchange Format (GIF) image from multiple raw image buffers to a specified
Declaration
C#Copypublic Task EncodeAsync(IEnumerable<GifFrame> frames, Stream outStream)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<GifFrame> | frames | The image frames to encode. |
Stream | outStream | The stream that the image is encoded to. |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous encoding operation. |