How to C#: Tiff
Using Tiff SDK for C#.NET
Convert Tiff to Jpeg Images
Convert Tiff to Jpeg Images
  |  
Home ›› XDoc.Tiff ›› C# Tiff: Tiff to Images

C# TIFF - Convert TIFF to Raster Images in C#.NET


C# Demo to Convert and Render TIFF to JPEG/Png/Bmp/Gif in Visual C#.NET Project




C#.NET Image: TIFF to Raster Images Overview



Based on the core technology of RasterEdge .NET document imaging SDK, .NET TIFF Converting and Rendering control package is powerful enough for fulfilling users' needs to convert single or multi-page TIFF file to raster image with its mature and robust TIFF imaging converting APIs in C#.NET class. RasterEdge .NET TIFF Converting Component SDK can be applied to transform and render TIFF to JPEG, BMP, PNG, and GIF image file formats in C#.NET, as well as in VB.NET, ASP.NET & .NET WinForms projects.


From this C# tutorial page, users are supposed to know:


How to convert Tiff image to Jpeg image in C#


How to convert Tiff image to Png image in C#


How to convert Tiff image to Bmp image in C#


How to convert Tiff image to Gif image in C#




C# Project DLLs: Convert TIFF to Raster Images



In order to start the following demo codes, the steps will be necessary as follows:


Add references;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.XDoc.Processing.dll


  RasterEdge.Imaging.Raster.dll


  RasterEdge.Imaging.Raster.Core.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.TIFF.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.TIFF;




C#.NET Image: TIFF to JPEG Demo



C# class code for conversion from Tiff image to Jpeg raster image.




// Load your Tiff image file.
TIFFDocument doc = new TIFFDocument(@"demo1.tif");
if (null == doc)
        throw new Exception("Fail to load TIFF Document");

// Convert Tiff image file to Jpeg image.
doc.ConvertToImages(ImageType.JPEG, @"", "Page");





C#.NET Image: TIFF to PNG Demo



Free C# programming demo for converting Tiff to Png image.




// Load your Tiff image file.
TIFFDocument doc = new TIFFDocument(@"demo1.tif");
if (null == doc)
        throw new Exception("Fail to load TIFF Document");

// Convert Tiff image file to Png image.
doc.ConvertToImages(ImageType.PNG, @"", "Page");





C#.NET Image: TIFF to BMP Demo



Learn how to convert Tiff file to Bmp image using C# demo.




// Load your Tiff image file.
TIFFDocument doc = new TIFFDocument(@"demo1.tif");
if (null == doc)
        throw new Exception("Fail to load TIFF Document");

// Convert Tiff image file to Bmp image.
doc.ConvertToImages(ImageType.BMP, @"", "Page");





C#.NET Image: TIFF to GIF Demo



Copy this demo code to your C# project to change Tiff image to Gif image.




// Load your Tiff image file.
TIFFDocument doc = new TIFFDocument(@"demo1.tif");
if (null == doc)
        throw new Exception("Fail to load TIFF Document");

// Convert Tiff image file to Gif image.
doc.ConvertToImages(ImageType.GIF, @"", "Page");