October 11, 2009

Converting jpg files Into pdf

This is really useful for students, as I am one of them too. Converting separate jpg files into a single pdf file is one of the most needed tasks anytime, but especially before the exams. What you have to do is:

1. Install imagemagick.

varsha@varsha-laptop:~$ sudo apt-get install imagemagick

Enter your root password.

imagemagick is installed.

2. Change to the directory where you have your jpg files.

varsha@varsha-laptop:~$ cd /media/disk/Study/Notes/

3. Convert.

varsha@varsha-laptop:/media/disk/Study/Notes$ convert *.jpg Notes-9.10.09.pdf

Happy studying!

Not only jpg to pdf, but imagemagick can also be used to convert image files from one format to another.

No comments:

Post a Comment