---
title: "Convert PDFs, MS Office files, and images to TIFF in C# | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/samples/convert-to-tiff-cs/"
md_url: "https://www.nutrient.io/guides/dotnet/samples/convert-to-tiff-cs.md"
last_updated: "2026-06-15T15:43:43.655Z"
description: "Discover Nutrient .NET SDK’s (formerly GdPicture.NET) `GdpictureDocumentConverter` for seamless conversion of more than 100 document and image formats."
---

# Convert PDFs, MS Office, and images to TIFF in C#

Nutrient.NET SDK (formerly GdPicture.NET) includes the `GdpictureDocumentConverter` class, which provides many different methods and properties for document conversion of [100+ document/image formats.](/guides/dotnet/about/file-type-support.md)

[Get Started](https://www.nutrient.io/sdk/dotnet/getting-started.md)

[All Samples](https://www.nutrient.io/guides/dotnet/samples.md)

[Download](https://www.nutrient.io/guides/dotnet/downloads.md)

[Launch Demo](https://www.nutrient.io/demo/)

---

```cs

// Now, let’s see how to convert any supported format to a.tiff file:

using (GdPictureDocumentConverter gdpictureDocumentConverter = new GdPictureDocumentConverter())
{
   GdPictureStatus status = gdpictureDocumentConverter.LoadFromFile("drawing.pdf", GdPicture14.DocumentFormat.DocumentFormatPDF);
   if (status == GdPictureStatus.OK)
   {
	  gdpictureDocumentConverter.RasterizationDPI = 300;
	  status = gdpictureDocumentConverter.SaveAsTIFF("drawing_image.tiff", TiffCompression.TiffCompressionAUTO);
	  if (status == GdPictureStatus.OK)
	  {
		 MessageBox.Show("The file has been saved successfully.", "GdPicture");
	  }
	  else
	  {
		 MessageBox.Show("The file has failed to save. Status: " + status.ToString(), "GdPicture");
	  }
   }
   else
   {
	  MessageBox.Show("The file has failed to load. Status: " + status.ToString(), "GdPicture");
   }
}

/**

* Do not forget to use the GdPictureStatus enumeration to have a following of your process and get potential errors.

As you can see in this example, we took as input a PDF, but you can select another format by just changing the path and the GdPicture14.DocumentFormat.DocumentFormatPDF in the «LoadFromFile » method.

GdPictureDocumentConverter provides two ways of saving your document as a TIFF:

- as a file, which is the path’s file: https://www.nutrient.io/api/gdpicture/GdPicture.NET.14~GdPicture14.GdPictureDocumentConverter~SaveAsTIFF(String,TiffCompression).html

- into a stream: https://www.nutrient.io/api/gdpicture/GdPicture.NET.14~GdPicture14.GdPictureDocumentConverter~SaveAsTIFF(Stream,TiffCompression).html

You can also change properties of your convertion in order to select the range of pages you want to convert, the amount of DPIs, if you want to keep or not the annotations within the converted document, and more.

For example, this is how you change the DPIs of the output TIFF:

gdpictureDocumentConverter.RasterizationDPI = 300;

You will find all the properties here: https://www.nutrient.io/api/gdpicture/GdPicture.NET.14~GdPicture14.GdPictureDocumentConverter_properties.html
*/

```

This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.

---

## Related pages

- [Automatically rotate pages of a multipage TIFF file using OCR and C#](/guides/dotnet/samples/auto-rotate-tiff-cs.md)
- [Saving images into folders based on their barcode](/guides/dotnet/samples/barcode-auto-sorting-cs.md)
- [Saving images into folders based on their barcode](/guides/dotnet/samples/barcode-auto-sorting-vbnet.md)
- [Automatically rotate pages of a multipage TIFF file using OCR and VB.NET](/guides/dotnet/samples/auto-rotate-tiff-vbnet.md)
- [Generate a multipage TIFF file using a compression mode per page in C#](/guides/dotnet/samples/create-multipage-tiff-cs.md)
- [Converting a Microsoft Word binary file document (DOC) to a Microsoft Word OpenXML document (DOCX) in C#](/guides/dotnet/samples/doc-to-docx-cs.md)
- [Using an external OCR engine during PDF/OCR generation](/guides/dotnet/samples/integrate-omnipage-ocr-cs.md)
- [Merging two PDF documents by alternating pages from both files in VB.NET](/guides/dotnet/samples/merge-pdf-alternate-pages-vbnet.md)
- [Converting a multipage PDF to a multipage TIFF using color detection in VB.NET](/guides/dotnet/samples/pdf-to-tiff-color-detection-vbnet.md)
- [Converting a multipage PDF to a multipage TIFF using color detection in C#](/guides/dotnet/samples/pdf-to-tiff-color-detection-cs.md)
- [Merging two PDF documents by alternating pages from both files in C#](/guides/dotnet/samples/merge-pdf-alternate-pages-cs.md)
- [Recompress an existing PDF using color detection in C#](/guides/dotnet/samples/recompress-pdf-cs.md)
- [Recompress existing PDFs using MRC compression in C#](/guides/dotnet/samples/recompress-pdf-mrc-cs.md)
- [Recompress existing PDFs using MRC compression in VB.NET](/guides/dotnet/samples/recompress-pdf-mrc-vbnet.md)
- [Recompress an existing PDF using color detection in VB.NET](/guides/dotnet/samples/recompress-pdf-vbnet.md)
- [Highlight and crop an image in C#](/guides/dotnet/samples/select-image-crop-area-cs.md)
- [Choosing the appropriate OCR zone in C#](/guides/dotnet/samples/select-ocr-zone-cs.md)
- [Choosing the appropriate OCR zone in VB.NET](/guides/dotnet/samples/select-ocr-zone-vbnet.md)
- [Highlight a region in a PDF or an image in C#](/guides/dotnet/samples/select-pdf-image-region-cs.md)
- [Highlight a region in PDF or an image in VB.NET](/guides/dotnet/samples/select-pdf-image-region-vbnet.md)
- [Save bitonal TIFF images with C# and CCITT4](/guides/dotnet/samples/tiff-photometric-cs.md)
- [Highlight and crop an image in VB.NET](/guides/dotnet/samples/select-image-crop-area-vbnet.md)
- [Convert a multipage TIFF to a multipage JBIG2 in C#](/guides/dotnet/samples/tiff-to-jbig2-cs.md)
- [Save bitonal TIFFs with VB.NET using photometric 0](/guides/dotnet/samples/tiff-photometric-vbnet.md)
- [Convert a multipage TIFF to a multipage JBIG2 in VB.NET](/guides/dotnet/samples/tiff-to-jbig2-vbnet.md)

