ExMagick - How to convert a multiple page pdf file into a single image

I am trying to convert a 4-page pdf file to a single jpeg image. I am able to create one image per page of the pdf file but not able to create one image file for the entire pdf doc.

You could concat the images after they are generated? :slight_smile:

How do I do it using ExMagick. This is a part of a project, I am working on.

I’m guessing ExMagick is just an interface to calls to imagemagic, and if so then you can just use the +append command if they are the same size, otherwise you can use the montage command for finer detail and control for how to place multiple images into one image. It’s all in the imagemagic documentation. :slight_smile: