Convert TIFF to PDF

Convert TIFF file to PDF files using "PDFSharp.dll". It is Open Source and free to use.

Convert TIFF to PDF

In this article I going to show how to convert a TIFF file to PDF file in C#.

First of all We need to create Console Project with .NET Framework 4.2.7.  I named It "ConvertTifToPDF".

Then add "PDFSharp" Nuget Package.

That DLL is Open source and free to use, here is the site link just in case more info needed.

Home of PDFsharp and MigraDoc Foundation - PDFsharp & MigraDoc

This is the code you need to add, as you can see there is a method "ToPDF" it need the params.

  • Folder: Folder path where TIF file is located.
  • Tiff file name: Tiff file name.
  • PDF file name: Name of the new  PDF.

As you can noticed a TIFF file is necessary in "SampleFile" folder.

Download the entire example from GIT and test it.

GitHub - inavant/TiffToPDF: Convert a Tif file to PDF file
Convert a Tif file to PDF file. Contribute to inavant/TiffToPDF development by creating an account on GitHub.

Sé productivo. Sé extraordinario. Sé INAVANT.