Skip to content

PDF create from images

PDF create from images

Install ImageMagick

sudo apt-get install imagemagick

Convert

Launch the Terminal in the desired directory with images and execute the following command:

convert *.png outputfile.pdf

In this case, the utility will convert all .png files to the output file outputfile.pdf. If you need to convert the files in the desired order, then rename them as follows:

  • 01file.png
  • 02file.png
  • 03file.png

If you need to convert a single file, for example file.png, then the command will be as follows:

convert file.png outputfile.pdf

If you need to convert graphic files of a different format, then simply change the file type in the command. For example:

convert *.gif outputfile.pdf