Issue with convert

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
jacobw56

Issue with convert

Post by jacobw56 »

Using arch and version 6.4.6 Q16. I am trying to convert a batch of jpegs to pdf using

Code: Select all

convert *.jpg foo.pdf
It chugs for a little while then just gives

Code: Select all

Killed.
with no output. Not really an expert with imagemagick but this has always worked in the past; infact, it worked with a different batch of jpegs just moments before. Admittedly, the jpegs are bigger than usual (~400kb) and there are plenty of them (~400) but I'm not sure why that would matter. Any ideas?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Issue with convert

Post by magick »

Try this command:
  • convert -limit memory 1 -limit map 1 *.jpg foo.pdf
This forces the image pixels to disk rather than memory.
jacobw56

Re: Issue with convert

Post by jacobw56 »

Thank you very much. Worked perfectly. Somehow I didn't see that in the literature, I think mostly because I didn't know to look for it.
Post Reply