Convert multiple images to PDF

This command takes a bunch of images and makes a multi-page PDF out of them:

convert *.jpg -units PixelsPerInch -quality 100 \
  -density 300x300 +repage out.pdf