XImage.Raster
Features
Tech Specs
How-to C#
Pricing

C# Imaging Library
C# Raster - Convert Image to GIF in C#.NET


Online C# Guide for Converting Image to GIF in .NET Application



How to convert, export TIFF, PNG, JPG raster image to GIF file using C#?

  1. Download XImage.Raster C# imaging library
  2. Install C# library to convert, export TIFF, PNG, JPG raster image to GIF file in .NET applications
  3. Step by Step Tutorial










Convert RasterImage to GIF

Sample Code (convert single frame image to GIF):

ConvertHandler.Convert("input.jpeg", @"output.gif");


Sample Code (convert multi-frame image to GIF):

RasterImage img = new RasterImage("input.tiff");
img.Save(@"output.GIF");




How to convert image to GIF with options applied in C#?



When you convert image to GIF image file using XImage.Raster C# Imaging library, you can customize and apply the following GIF image options
  • Interlaced if save gif file in interlaced format
  • TransparencyColor pick a color from color palette and define it as a transparent color
  • TransparencyMatch colors within this distance are considered equal
  • Version set output gif's version. note:87a not support animate delays nor transparent background colors