Skip to content
Advertisement

Creating two pdf pages with Imagick

Currently i can create PDF files from images in Imagick with this function

JavaScript

And it’s possible to fetch multiple pages with imagick like this

JavaScript

But is it possible to save two image objects to two pages? (example of what i am thinking, its not possible like this)

JavaScript

Advertisement

Answer

I know this is long past due, but this result came up when I was trying to do the same thing. Here is how you create a multi-page PDF file in PHP and Imagick.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement