This class enables you to read TIFF images.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

## Syntax

C#
public sealed class TiffReader : ImageReader

## Remarks

TIFF format is one of the most comprehensive image formats. It was designed to promote the interchange of digital image data. The general scenario TIFF format was invented for, assumes that scanning or painting software creates a TIFF file, which can then be read and incorporated into a document or publication by an application such as a desktop publishing package. It is also widely used to retrieve facsimile messages.

This image format is rather versatile and have a lot of modifications. It supports most Graphics Mill pixel formats even such exotic ones like Format80bppAcmyk. It also can store multiple images in the single file (mostly used for fax images and other documents stored as 1-bit bitmaps).

TIFF files can also contain Adobe® resources, XML, EXIF and IPTC data.

## Examples

The following code snippet demonstrates how to split a multiframe image file into separate JPEG files:

C#
using (var reader = new TiffReader(@"Images\in.tif"))
{
for (int i = 0; i < reader.Frames.Count; i++)
{
{
bitmap.Save(@"Images\Output\frame_" + i.ToString() + ".jpg");
}
}
}


System.Object