Examples

Convert TIFF/TIF to PDF

Both DynamicPDF Converter and DynamicPDF Core Suite support TIFF to PDF conversion - including support for multi-page TIFF to PDF conversion. The following examples illustrate.

Watch the Video

How to Convert TIFF to PDF Using DynamicPDF Core Suite

Use the TiffFile class from DynamicPDF Core Suite to convert a TIFF to PDF. DynamicPDF Core Suite allows converting single and multi-page TIFF files. Also, DynamicPDF Core Suite allows adding additional page elements to a PDF so you can customize how a TIFF is converted to a PDF. In the following example, we convert a multi-page TIFF to a PDF.

Reuse ImageData if adding images individually using the Image class to a PDF. This reuse saves memory and reduces the output PDF size. For more information, please refer to the ImageReuse topic from our help documentation.

Steps to Convert TIFF/Multipage TIFF to PDF using Core Suite

  1. Create a TiffFile object instance and in the constructor pass the path to the TIFF file.
  2. Create a Document object instance from the TiffFile instance's GetDocument method.
  3. Call the Document instance's Draw method and pass the path to the PDF to create.

Sample Code - C#

TiffFile tiffFile = new TiffFile("fw9_18.tiff");
Document document = tiffFile.GetDocument();
document.Draw("core-suite-example.pdf");

How to Convert TIFF to PDF Using Converter

The following steps and sample code illustrate converting a TIFF to PDF using the DynamicPDF Converter for .NET. As with DynamicPDF Core Suite, multi-page TIFFs are supported by DynamicPDF Converter.

Steps to Convert TIFF to PDF Using Converter for .NET

  1. Create a new ImageConverter object instance and in the constructor pass the path to the TIFF file.
  2. Invoke the Convert method on the ImageConverter instance and specify the path to the output file.

Sample Code - C#

ImageConverter image = new ImageConverter("fw9_18.tiff");
image.Convert("converter-example.pdf");

Use the ImageConverter class if advanced ImageConversionOptions are required. Otherwise, use the static Convert method from the Converter class by passing the path to the source image and path to the output PDF.

GitHub Project

Examples are available for both DynamicPDF Core Suite and DynamicPDF Converter.

DynamicPDF Core Suite

Clone or view the example project at GitHub. This example code is contained in the Examples/TiffToPDF.cs file.

Clone or View Example Project on GitHub

DynamicPDF Converter

Example code for DynamicPDF Converter is contained in the TiffImageConversion.cs file.

Clone or View Example Project on GitHub

Getting Started

NuGet Package

DynamicPDF Core Suite is available on NuGet and is part of the ceTe.DynamicPDF.CoreSuite.NET package. The easiest way to install the package is through the Visual Studio Package Manager. You can also download the package directly from NuGet.

NuGet Package ID: ceTe.DynamicPDF.CoreSuite.NET

DynamicPDF Converter is available on NuGet and is part of the ceTe.DynamicPDF.Converter.NET package.

[NuGet Package ID: ceTe.DynamicPDF.Converter.NET](

DynamicPDF Core Suite and DynamicPDF Converter Information

DynamicPDF Core Suite contains over 75 page elements so you can add rich content to the PDFs you create:

  • Images
  • Text Objects (TextArea and Label)
  • HTML
  • Barcodes (47 types)
  • Form Fields
  • Charts

For more information on both products, refer to the DynamicPDF Core Suite webpage or the DynamicPDF Converter webpage.

Available on Other Platforms

DynamicPDF Core Suite is available for the Java and COM/ActiveX platforms. Refer to the respective product pages for more details.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 22 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!