ImageMagick

Merge images and create a PDF

convert scan0.jpg scan2.jpg file.pdf

All images from a directory:

convert `ls -A1` file.pdf
Jan-Lukas Else
20 years old Student, Developer & Blogger