TIFF to PDF with Multi-Page Support

Converting from a single or multiple pages TIFF to PDF can be accomplished in a single line of code.

Utilize the PdfGenerator.imageToPdf method to convert a single or multiple pages TIFF to PDF. This method is not limited to TIFF alone; it is also compatible with other image formats such as PNG, JPG, and JPEG.

Additionally, the method accepts an image buffer, which can be useful for receiving images from a network source.

This C# code snippet demonstrates how to convert a TIFF image (or any supported image format) into a PDF document. The PdfDocument.ImageToPdf method reads the image file and converts it into a PDF, which is then saved to a specified path on the file system.

Discover how to convert PDFs to images in Python with IronPDF!

Talk to an Expert Five Star Trust Score Rating

Ready to Get Started?