XDoc.Converter
Features
Tech Specs
How-to C#
Pricing

C# Document Converter Library
C# Tiff Convert: How to Convert PDF to Tiff Using C#


This Tutorial Offers a Visual C# Sample Code for Implementing PDF to Tiff Conversion





This page shows how to convert Adobe PDF document to Tiff image file in C# programming application. In general, you can use the following conversion features in your C# application.
  • Choose a single PDF file page to convert to a Tiff image
  • Choose to convert the whole PDF document to a Tiff file with multiple pages
  • Set Tiff image resolution while converting from PDF file


How to Convert PDF to Tiff Using C#



The following coding demo will help you to convert the whole PDF document to a Tiff image file in your C#.NET project. The following demo code will create an output .tif file with default resolution(96) and default compression(JPEG).

// Define input and output files path.
String inputFilePath = @"C:\input.pdf";
String outputFilePath = @"C:\output.tif";

// Convert PDF to Tiff.
ConvertResult result = DocumentConverter.ToDocument(inputFilePath, outputFilePath, FileType.DOC_TIFF);


Converting PDF File to Tiff Image with Settings(Compression and Resolution)



You may directly copy and paste this PDF to Tiff conversion demo to your C# .NET program. The following demo code will create an output .tif file with resolution(100) and compression(CCITT).

//Define the document save setting options
DocumentSaveOption option = new DocumentSaveOption(FileType.DOC_TIFF);

//set the output tiff file compression
option.CompressionMode = ImageCompress.CCITT;

//set the output tiff file resolution
option.Resolution = 200;
DocumentConverter.ToDocument(@"C:\input.pdf", @"C:\output.tif", option);