Playing around with .pdf files

Posted on Mon 26 January 2015 in Code snippetsLeave a comment

Here's a bunch of commands that I found useful when working with .pdf files.

1. How to convert an image into a .pdf file?

Install imagemagick:

sudo apt-get install imagemagick

Convert the image:

convert image.jpg output.pdf

2. How to concatenate multiple .pdf files into one .pdf file?

Install …

Continue reading