Generating PDF from scanned images using ImageMagick

I used the following command with some success. To keep the resulting file size down, you may play with the quality parameter and with resampling to an even lower density.

convert -page A4 -quality 20 -density 400x400 -resample 300x300 *.jpeg Result.pdf