If you have a document in jpeg format and you want to print it in a more friendly printable format, let use convert from the ImageMagick utilities.

To install it :

root@localhost:~#apt-get install imagemagick imagemagick-doc

To make the conversion :

fool@localhost:~$ convert your_image.jpg your_image.pdf

Then you can open your new document with your pdf viewer.

Sometimes, this process can lead to a bigger file in size. Adding the following option -compress jpeg may help decrease this size :

fool@localhost:~$convert -compress jpeg your_image.jpg your_image.pdf

If you are planning to make more complex operations on pdf documents, have a look at the utilities provided by the pdfjam package.

 

About these ads