Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

I have a folder with 100 jpg images. I want to convert these images into a multi-page pdf file, with all the images (cropped to A4 size). They are already in the correct rotation.

Which tools should I use?

share|improve this question
up vote 8 down vote accepted



Type the follow line to commmand prompt for intall ImageMagick:

sudo apt-get install imagemagick

Convert from jpegs to PDF:

Go to the work directory (directory of jpegs):

cd work/directory/path

Convert the JPG files to PDF:

convert *.jpg foo.pdf

source : http://bitprison.net/jpg_to_pdf

share|improve this answer
I found the solution myself, but you answered with more details. This was so simple I'm even ashamed of. – Somebody still uses you MS-DOS Aug 4 '11 at 15:13
^you r welcome! – mr_eclair Aug 4 '11 at 15:14
Hmm, does not yet crop to A4 aspect ratio though ;) – tanius Aug 4 '15 at 11:32

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.