Covert multipage PDF to an image
ImageMagick provides powerful tools to manipulate images. I was surprised to learn that it can even handle PDFs. To convert a multipage PDF to a single image with all the pages (vertically lined), you just need one command
convert some_file.pdf -append image.jpg
If you want the pages aligned horizontally
convert some_file.pdf +append image.jpg
You can also control the size of each page by passing additional parameter ‘resize’
convert some_file.pdf -append -resize 800 image.jpg
Note: convert is a command line utility that will get installed when you install ImageMagick