C# TIFF Image Library
Convert TIFF to Raster Images in C#.NET


C# Demo to Convert and Render TIFF to JPEG/Png/Bmp 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, and PNG 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#



C# Project DLLs: Convert TIFF to Raster Images



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



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



public override void ConvertToImages(ImageType target, string directory, string fileName)

Description:
Convert all TIFF file pages to image with specified format and save them in the given folder.

Parameters:
public override void ConvertToImages(ImageType targetType, Stream[] streams)

Description:
Convert all TIFF file pages to image with specified format and save them in the stream

Parameters:
public override void ConvertToImages(ImageType targetType, float zoomValue, Stream[] streams)

Description:
Convert all TIFF file pages to target format images with specified zoom value and save them to streams,

Parameters:
public override void ConvertToImages(ImageType targetType, int resolution, Stream[] streams)

Description:
Convert all TIFF file pages to target format images with specified resolution and save them to streams.

Parameters:
public override void ConvertToImages(ImageType targetType, float zoomValue, string directory, string fileName)

Description:
Convert all TIFF file pages to target format images with specified zoom value and save them on the given folder.

Parameters:
public override void ConvertToImages(ImageType targetType, int resolution, string directory, string fileName)

Description:
Convert all TIFF file pages to target format images with specified resolution and save them on the given folder.

Parameters:
public override void ConvertToImages(ImageType targetType, ImageOutputOption option, Stream[] streams)

Description:
Convert all TIFF file pages to target format image with optional settings and save them to streams.

Parameters:
public override void ConvertToImages(ImageType targetType, ImageOutputOption option, string directory, string fileName)

Description:
Convert all TIFF pages to target format images with optional settings and save them to the given folder.

Parameters:
ImageOutputOption:








Common Asked Questions

How do I change a TIF File to JPEG?

You can use image converting or editing freeware to convert a TIFF image file to JPEG images on Windows or MacOS. Using RasterEdge XDoc.TIFF C# library, you can quickly convert multi-page TIFF image file to JPEG (.jpg or .jpeg) files with few C# codes in ASP.NET Core web and Windows applications.

Is a TIFF file better quality than JPEG?

TIFF image format is uncompressed or use lossless compression, and it keeps original image size and quality. However JPEG image format uses lossy compression to reduce image file size. TIFF image has usually higher quality and JPEG, and it will be used for image files archiving. Using XDoc.TIFF C# SDK api, you can create, store images in TIFF or JPEG image format in Visual Studio .NET web and desktop projects.

Are there free TIFF to JPG converter?

There are many free TIFF image to JPEG file converter freeware or online services. They will allow you to upload the TIFF image files and convert to JPEG images on Windows or web browser. If you want build a free image Converter application by yourself, you can use XDoc.TIFF C# library. You can quickly build a TIFF to JPEG image converter Windows app or ASP.NET Core web app using Visual Studio IDE.

Is it safe to convert TIFF to JPG online?

Some online TIFF to JPG converters are protected by SSL encryption. You can also build a free TIFF to JPG conversion application using XDoc.TIFF library. The free trial version of TIFF library allows you to quickly create a WinForms or WPF Windows application with TIFF to JPG conversion enabled.

How to convert TIF to JPEG on Windows?

Microsoft Windows operating system has build-in applications (Paint app or Photo app) to support converting TIFF to JPEG images. You can also build your own conversion app on Windows without any cost. Download XDoc.TIFF C# library dll free trial version, build a simple TIFF to JPEG conversion WinForms app using Visual Studio .NET IDE on Windows.