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!
transform pdf to image/s
Re: transform pdf to image/s
Try:
Code: Select all
convert -density 300 input.pdf output.jpg
and/or
convert -density 300 input.pdf -quality 100 output.jpg
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: transform pdf to image/s
If the result is too large, try using
which reads at 300dpi then resizes the image for 100dpi producing a
higher quality, but smaller image.
Code: Select all
convert -density 300 input.pdf -resample 100 -quality 100 output.jpg
higher quality, but smaller image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/