How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Convert to GIF
Convert to GIF
  |  
Home ›› XImage.Raster ›› C# Raster: Convert to GIF

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


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



pdfreader not opened with owner password itext c#, asp.net core pdf library, vb.net barcode reader, asp net mvc 5 pdf viewer, c# parse pdf to text, how to search text in pdf using c#.

Related .net document control helps:
asp.net pdf viewer control free: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net office viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
document viewer asp.net c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net view excel in browser: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net mvc image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net sharepoint document viewer control: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint


Install XImage.Raster in C# Project



Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project references; c# pdf add new page, c# itext7 convert tiff to pdf, c# create editable pdf, c# pdf embed font, convert pdf to html c# online, c# ocr pdf, vb net pdf add pages dynamically.


  RasterEdge.Imaging.Basic.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


Use corresponding namespaces;


  using RasterEdge.XImage.Raster;


Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:

       

       If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.

       

       If using x86, the platform target should be x86.




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");