Class GifFrame

Definition

Namespace:
Tizen.Multimedia.Util
Assembly:
Tizen.Multimedia.Util.dll
API Level:
4

Represents the gif image data used to encode a gif image with GifEncoder.

C#
Copy
public class GifFrame
Inheritance
System.Object
GifFrame

Constructors

View Source

GifFrame(Byte[], UInt32)

Initializes a new instance of the GifFrame class with a buffer and a delay.

Declaration
C#
Copy
public GifFrame(byte[] buffer, uint delay)
Parameters
Type Name Description
System.Byte[] buffer

The raw image buffer to be encoded.

System.UInt32 delay

The delay for this image in milliseconds.

Exceptions
Type Condition
ArgumentNullException

buffer is null.

System.ArgumentException

The length of buffer is zero.

API Level: 4

Properties

View Source

Buffer

Gets the raw image data.

Declaration
C#
Copy
public byte[] Buffer { get; }
Property Value
Type Description
System.Byte[]
API Level: 4
View Source

Delay

Gets or sets the delay for this image.

Declaration
C#
Copy
public uint Delay { get; set; }
Property Value
Type Description
System.UInt32

Time delay in milliseconds.

API Level: 4