Merge TIFF to PDF in C#

Powerful cross-platform .NET API for merging TIFF to PDF files using C# code on NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms

Merge TIFF to PDF using Aspose.Slides

Aspose.Slides for .NET is a powerful .NET library used to create, convert, merge, and manipulate presentations, PDFs, images, and other files. When you merge TIFF to PDF, you are effectively combining images to obtain a single PDF file.

Merge TIFF to PDF in C#

Using Aspose.Slides for .NET , you can merge TIFF to PDF quickly with just a few lines of code

C# code for merging TIFF to PDF

using (Presentation pres = new Presentation())
    IPPImage tiff1 = pres.Images.AddImage(File.ReadAllBytes("image1.tiff"));
    pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 100, 100, tiff1);

    IPPImage tiff2 = pres.Images.AddImage(File.ReadAllBytes("image2.tiff"));
    pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 200, 100, 100, tiff2);

    pres.Save("MergedFile.pdf", SaveFormat.Pdf);

How to merge TIFF to PDF in C#

  1. Install Aspose.Slides for .NET. See Installation .

  2. Add the library as a reference in your project.

  3. Create an instance of the Presentation class.

  4. Load the TIFF files you want to merge as picture frames.

  5. Save the resulting PDF.

Merge PDF Files Online

How to Merge PDF in Python