2

This question already has an answer here:

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?

marked as duplicate by muru, Fabby, karel, Zanna, pomsky Dec 15 '17 at 12:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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
2

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
  • Does not work for me – Arun Gowda Aug 9 at 7:04
  • convert: not authorized 00a61701-70a4-4d27-802c-ce5a1a864621.pdf' @ error/constitute.c/ReadImage/412. convert: no images defined output.jpg' @ error/convert.c/ConvertImageCommand/3210. – Arun Gowda Aug 9 at 7:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.