Table of Contents

Class GifFormat

Namespace
Egami.Formats.Gif
Assembly
Egami.dll

The GIF format, registered in Default.

public static class GifFormat
Inheritance
GifFormat
Inherited Members

Examples

using FileStream output = File.Create("duck.gif");
photo.Save(output, GifFormat.Info, new GifWriterOptions
{
    Palette = new PaletteOptions { MaxColors = 128, Dither = DitherMode.Ordered }, // FloydSteinberg (default), Ordered or None
    PaletteScope = GifPaletteScope.PerFrame,   // Auto (default): one table when all frames fit, else one per frame
});

Properties

Info

Gets the format's registration: name, MIME type, extension, signature, reader and writer.

public static FormatInfo Info { get; }

Property Value

FormatInfo