Convert PDF to TIFF in Node.js

Convert PDF files to TIFF with Aspose.Slides for Node.js via Java.

Convert PDF to TIFF in Node.js

Aspose.Slides for Node.js via Java lets you import PDF files into a presentation and save the result as TIFF files. With this Node.js API, you can convert PDF content without Adobe Acrobat.

Convert PDF to TIFF using Node.js

To convert PDF to TIFF, create a Presentation, import the source file with addFromPdf, and save the presentation with SaveFormat.Tiff.

Node.js code to convert PDF to TIFF

const presentation = new aspose.slides.Presentation();
try {
    presentation.getSlides().removeAt(0);
    presentation.getSlides().addFromPdf("sourceFile.pdf");

    presentation.save("output.tiff", aspose.slides.SaveFormat.Tiff);
}
finally {
    presentation.dispose();
}

How to convert PDF to TIFF using Aspose.Slides for Node.js via Java API

To convert PDF to TIFF using Aspose.Slides for Node.js via Java, import the package, import the source file into a presentation, and save it in the required format.

  1. Install Aspose.Slides for Node.js via Java .

  2. Import the aspose.slides.via.java package in your Node.js project.

  3. Import the source PDF file with addFromPdf.

  4. Call the save method with the output file path and SaveFormat.Tiff.