GifOptions

Class GifOptions

Namespace: Imagise.AnimationMaker.ImageOptions
Assembly: Imagise.AnimationMaker.dll

Leverage our GIF image API to create vibrant and engaging visuals with ease. This API provides flexible options, including customizable frame rates, loop counts, and color palettes, giving you full control over your GIF animations. Ideal for enhancing user engagement, these optimized GIFs are perfect for web content, social media, and marketing materials. Maximize visual impact while ensuring efficient file sizes to maintain fast load times and a seamless user experience.

public class GifOptions : GifOptions, IDisposable

Inheritance

object ← ImageOptions ← GifOptions ← GifOptions

Implements

IDisposable

Inherited Members

ImageOptions.Clone(), ImageOptions.Dispose(), ImageOptions.Source, ImageOptions.VectorRasterizationOptions, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

GifOptions()

public GifOptions()

Properties

BackgroundColor

Gets or sets the background color.

public Color BackgroundColor { get; set; }

Property Value

Color

ColorPalette

Sets the color palette.

public ColorPalette ColorPalette { set; }

Property Value

ColorPalette

FullFrame

Gets or sets a value indicating whether use full frame output.

public bool FullFrame { get; set; }

Property Value

bool

LoopsCount

Gets or sets the loops count (Default 1 loop)

public int LoopsCount { get; set; }

Property Value

int

Methods

SetFrameDuration(Image, int)

Sets the duration of the frame in animated Gif image.

public void SetFrameDuration(Image image, int FrameDuration)

Parameters

image Image

The image.

FrameDuration int

Duration of the frame in animated Gif image.

Exceptions

Exception

Operation is appicable only for Gif image