Product Family

Convert PDF to TIFF via C++

Sample code for PDF to TIFF C++ conversion. Use API example code for batch PDF files to TIFF conversion with VC++, GNU C++ in kinds of application.

How to Convert PDF to TIFF Using C++

In order to convert PDF to TIFF, we’ll use Aspose.PDF for C++ API which is a feature-rich, powerful and easy to use document manipulation and conversion API for C++ platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.

Package Manager Console Command

PM> Install-Package Aspose.PDF.Cpp


Steps to Convert PDF to TIFF via C++

C++ developers can easily load & convert PDF files to TIFF in just a few lines of code.

  1. Initialize a new Document
  2. Create & set the instance of TiffDevice class with Size & Resolution
  3. Call TiffDevice.Process method with page index & output file path as parameters
  4. Finally, save the output TIFF file

System Requirements

Aspose.PDF for C++is supported on all major operating systems. Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit, and Linux 64 bit.
  • Development environment like Microsoft Visual Studio.
  • Aspose.PDF for C++ DLL referenced in your project.

This sample code shows PDF to TIFF C++ Conversion

System::SharedPtr<Aspose::Pdf::Facades::PdfConverter> TiffConverter = System::MakeObject<Aspose::Pdf::Facades::PdfConverter>();
  • Convert PDF to TIFF via Online App