Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After updating to Precise had a few times the following mishap: when I try to convert to pdf many (100, 200) jpegs or pngs, my system gets completely stuck and need hard reboot. Or, more fortunately, I get an unreadable pdf.

With a few images all seems ok.

Is there a limit to the number of files converted in Imagemagick with one command like

convert *.jpg new.pdf

or is it something else the matter?

share|improve this question
thnx but it's not that – cipricus Jul 20 '12 at 21:12
Have you actually tried it? – hexafraction Jul 20 '12 at 21:13
yes sir, I have the correct commands in a text file and I just paste them :( the misfortune happened 5-6 times :) and is difficult to experiment with - like any such stuff. also, its something that didn't happened before update with the same text file – cipricus Jul 20 '12 at 21:14
I should understand maybe that your answer to my question "Is there a limit to the number of files converted in Imagemagick with one command?" is NO? – cipricus Jul 20 '12 at 21:17
I don't truly know about limits to that. I was just looking at the command. – hexafraction Jul 20 '12 at 21:18
up vote 1 down vote accepted

You have to define pdf page setting.

Type into terminal

convert -page A4 *.jpg xxx.pdf

Where xxx is the file name. There is no limitation of image quantity. But lot of image nedd more time to generate a pdf file.

share|improve this answer
Yes. I have just used that command on the very images that would not convert with the simpler command (and had blocked my system).And it worked perfectly. Thanks. – cipricus Jul 20 '12 at 21:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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