User Tools

Site Tools


convert_images_to_pdf
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:

 <policy domain="coder" rights="read | write" pattern="PDF" />

just before </policymap> in /etc/ImageMagick-7/policy.xml

convert_images_to_pdf.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1