jpg to pdf conversion retaining quality of image

Abhishek Dixit abhidixit87 at gmail.com
Fri Jan 13 12:49:12 UTC 2012


I am converting images to pdfs.I use imagemagick via following command

$bash convert page.jpg page.pdf
and then combine multiple pdf's generated accordingly by command

$bash pdftk 1.pdf 2.pdf output result.pdf
but I noticed loss of quality in the resulting pdf.Is there some way
that I can retain the quality of pdf i.e. I want same quality in pdf
as the image is.
I am not sure if this convert command is using imagemagick library is
there any better solution? I have 100's of images to convert to pdf so
I prefer to use command line I am invoking them in a shell script.I am
looking for how can I retain quality of pdf.Is there any tool for the
same?


-------------------------
Regards
Abhi




More information about the ubuntu-users mailing list