Examples

Convert PDF to TIFF

DynamicPDF Rasterizer for .NET makes rasterizing PDFs to a TIFF or multi-page TIFF a breeze. The following C# examples show you how.

Watch the Video

How to Convert a PDF to TIFF

The following steps illustrate converting a PDF to a TIFF image.


Steps to convert PDF to TIFF


  1. Create a PdfRasterizer object using the source PDF document.
  2. Add the Draw method by specifying the image file as ImageFormat.TiffWithLzw, the desired DPI, and file path to save the image.

Sample code - C#


PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf");
rasterizer.Draw("output.tiff", ImageFormat.TiffWithLzw, ImageSize.Dpi150);

Convert PDF to Multipage TIFF

You can create a multipage TIFF from a PDF using the DrawToMultiPageTiff method of the PdfRasterizer class.


Steps to convert PDF to Multipage TIFF


  1. Create a PdfRasterizer object using the source PDF document.
  2. Add the DrawToMultiPageTiff method by specifying the type of TIFF, DPI and file path to save image.

Sample Code - C#


PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf");
rasterizer.DrawToMultiPageTiff("output.tiff", ImageFormat.TiffWithCcitGroup4, ImageSize.Dpi150);

PDF to converted to four TIFF images.

GitHub Project

Examples are provided in C# and VB.NET. Clone or view the example project at GitHub. This example contained on this page are in the following files.


Clone or View Example Project on GitHub

Getting Started

DynamicPDF Rasterizer for .NET is a simple-to-use .NET library that quickly converts your vector-based file format (PDF) to a pixel-based format (an image format). This process can significantly reduce the overall size of the document, allowing you to use the output image for other purposes where PDF documents may not be ideal. With a Free Evaluation Edition to try, why not start using DynamicPDF Rasterizer Today!

Get started easily by installing DynamicPDF Rasterizer for .NET through NuGet or manually. Then, refer to the documentation for more information on using and purchasing.


NuGet Package


The easiest way to install DynamicPDF Rasterizer for .NET is by obtaining the NuGet package using Visual Studio's Package Manager. You can also obtain the NuGet package by downloading it directly. Refer to the installation documentation for more information.

NuGet Package ID: ceTe.DynamicPDF.Rasterizer.NET

DynamicPDF Rasterizer Information


DynamicPDF Rasterizer for .NET is a user-friendly .NET library that quickly converts PDF documents to images. With a free Evaluation Edition to try and with flexible and royalty-free licensing options, why not start using DynamicPDF Rasterizer for .NET today!


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!