In Linux there is a command convert which can be used to convert a image file to PDF(Portable Document Format).
Example:
convert imagefile.jpg scan.pdf
To convert multiple files with .jpg extension use below command
convert *.jpg scanned_docs.pdf
We can install convert command using
yum install ImageMagick
Using compression
convert -density 100x100 -quality 60 -compress jpeg input.pdf output.pdf
Advertisements