User Tools

Site Tools


convert_images_to_pdf
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
convert_images_to_pdf [2024/03/12 21:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<code>
 +sudo apt-get install imagemagick
 +</code>
 +
 +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:
 +
 +<code>convert image1.jpg image2.png image3.bmp output.pdf</code>
 +
 +If you get error while creating pdf, add: 
 +<code>
 + <policy domain="coder" rights="read | write" pattern="PDF" />
 +</code>
 +
 +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