sudo apt-get install imagemagick Once you have it installed, use the ‘convert’ command line tool of ImageMagic. Just provide the paths to individual images and at the end of the command, name the output file. For example, something like this: convert image1.jpg image2.png image3.bmp output.pdf If you get error while creating pdf, add: just before in /etc/ImageMagick-7/policy.xml