Page 1 of 1

transform pdf to image/s

Posted: 2009-02-04T03:24:38-07:00
by lewisstrauss
Hi All,

Using the command input I convert a pdf file and each page of the law as a pdf: convert input.pdf output.jpg.

But the picture quality is poor, there is some parameter to set the quality?


Thank in advanced!

Re: transform pdf to image/s

Posted: 2009-02-04T03:30:26-07:00
by Bonzo
Try:

Code: Select all

convert -density 300 input.pdf output.jpg
and/or
convert -density 300 input.pdf -quality 100 output.jpg

Re: transform pdf to image/s

Posted: 2009-02-05T20:08:39-07:00
by anthony
If the result is too large, try using

Code: Select all

convert -density 300 input.pdf  -resample 100  -quality 100 output.jpg
which reads at 300dpi then resizes the image for 100dpi producing a
higher quality, but smaller image.