---
title: "TiffWriter Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TiffWriter.htm
product: "Graphics Mill"
---

# TiffWriter Class
 
Contains methods and properties used to write TIFF image.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class TiffWriter : ImageWriter, IMetadataWriter
```
 
## 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](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_PixelFormat_Format80bppAcmyk.htm.md). 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
  
```csharp
using (var reader = new TiffReader(@"Images\in.tif"))
using (var rotate = new Rotate(90))
using (var writer = new TiffWriter(@"Images\Output\out.tif"))
{
    writer.Compression = CompressionType.Jpeg;
    Pipeline.Run(reader + rotate + writer);
}
```
 
## Inheritance Hierarchy
  
- System.Object
    - [Aurigma.GraphicsMill.PipelineElement](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PipelineElement.htm.md)
        - [Aurigma.GraphicsMill.Codecs.ImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md)
            - Aurigma.GraphicsMill.Codecs.TiffWriter
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [TiffWriter Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_TiffWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)

### Manual

- [Supported File Formats](https://www.graphicsmill.com/docs/gm/supported-file-formats.htm.md)
