convert pdf

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jnimo

convert pdf

Post by jnimo »

Hello.


thanks for reading my post, i have a question and i want to know if someone could help me

when I want to create a pdf document with convert i use the next command

convert *.jpg out.pdf

and with this command i put every jpg in one pdf, but if i have 120-150 jpg the computer just hang.

there is a way to solve that problem?

there is a way to append jpg to a pdf file that already exist?


thanks for reading my problem, THANKS a lot
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert pdf

Post by magick »

> but if i have 120-150 jpg the computer just hang.

Try this command:
  • convert -limit memory 1 -limit map 1 *.jpg out.pdf
Make sure you have plenty of free space in your temporary partition. If not, set the MAGICK_TMPDIR environment to a path that does have plenty of free space.

The convert command will run, albeit slowly, but it should not have a major impact on your system while its running.
jnimo

Re: convert pdf

Post by jnimo »

thanks, but there is a way to append a .jpg to a pdf file? that would help me too

thanks
Post Reply