Convert TIFF files to PDF documents with our Python TIFF to PDF API.
Why Nutrient DWS API?
SOC 2 Compliant
Build the workflows you need without worrying about security. We don’t store any document data, and our API endpoints are served through encrypted connections.
Easy Integration
Get up and running in hours, not weeks. Access well-documented APIs and code samples that make integrating with your existing workflows a snap.
Robust and Flexible
With access to more than 30 tools, you can process one document in multiple ways by using API credits. Generate PDF from HTML, convert Word, Excel, PowerPoint and image files to PDF, and more.
Simple and Transparent Pricing
Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.
Try It Out
This example will convert your uploaded TIFF file to a PDF.
Add a TIFF file named input.tiff to your project folder. You can also use our sample file.
The file name is case sensitive. Make sure the file name matches the file name in the sample code.The file name is case sensitive. Make sure the file name matches the file name in the sample code.
The following section will walk you through how to best make use of all the functionality our Image to PDF API
provides.
Converting a Single Image to PDF
Let’s start with the basics. The Image to PDF API allows you to convert any supported image file to a PDF.
The easiest way to use this is to convert a single image to a PDF. Place a
page1.tiff file in the same folder as your code. You can use any image or use our
provided
sample page.
Run the code, and you’ll get a result.pdf with your image converted to a PDF.
While converting a single image to a PDF is quite useful, often you’ll have a folder of images — for example,
of a scanned document — that you want to combine into a single PDF.
Pass in multiple images — one for each page in your request — and Nutrient DWS API will merge all of them into a
single PDF.
Add more files in the same folder as your code and run the updated code. You can duplicate and rename your
existing file, or you can add some other images.