Class GifFrame

    Definition

    Namespace:
    Tizen.Multimedia.Util
    Assembly:
    Tizen.Multimedia.Util.dll

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

    public class GifFrame
    Inheritance
    object
    GifFrame

    Constructors

    View Source

    GifFrame(byte[], uint)

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

    Declaration
    public GifFrame(byte[] buffer, uint delay)
    Parameters
    Type Name Description
    byte[] buffer

    The raw image buffer to be encoded.

    uint delay

    The delay for this image in milliseconds.

    Exceptions
    Type Condition
    System.ArgumentNullException

    buffer is null.

    System.ArgumentException

    The length of buffer is zero.

    Properties

    View Source

    Buffer

    Gets the raw image data.

    Declaration
    public byte[] Buffer { get; }
    Property Value
    Type Description
    byte[]
    View Source

    Delay

    Gets or sets the delay for this image.

    Declaration
    public uint Delay { get; set; }
    Property Value
    Type Description
    uint

    Time delay in milliseconds.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX