5

I'm looking for a way to convert a PDF to a single, continuous JPG. I've tried:

convert source.pdf output.jpg

But I get all separate pages, eg:

output-1.jpg output-2.jpg output-3.jpg ...

Is there something I'm missing, so that all my pages will be laid out vertically in the resulting JPG, rather than each page to its own jpg?

  • 1
    convert source.pdf -append output.jpg makes a single, vertically tiled JPEG for me. – muru Dec 14 '17 at 15:48
  • @muru I was going to add that I was able to -append the outputted JPGs after the initial convert statement. This gave me a oneliner. Thanks – unknown6708 Dec 14 '17 at 16:47

1 Answers1

7

In order to skip outputting all the pages to respective JPGs, one must -append in the statement. My final, working statement is

convert -density 300 -append source.pdf output.jpg