Saturday, April 24, 2010

Convert JPG files to PDF in linux

Install imagemagick package
apt-get install  imagemagick
Go to the command prompt and Go to that folder containing jpg
$cd path-to-your-jpg-files
Use Covert  comand to convert jpg to PDF
$convert path-to-your-jpg-files.jpg path-to-yournewfile.pdf
We can use *.jpg to include all jpg files into folder files