Hello,
If I convert pdf file to jpg - How do the dimensions (width and height) set (without special options like -resize) ?
By which properties of the pdf file?
(code for example : convert test.pdf test.jpg)
Thanks!
Convert function - question
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert function - question
You need to read in the pdf with -density. That controls the size of the output. PDF does not have any real size as it is vector format. Nominal size is 72 dpi.
convert -density xxx image.pdf image.jpg
or you can supersample
convert -density 288 image.pdf -resize 25% image.jpg
convert -density xxx image.pdf image.jpg
or you can supersample
convert -density 288 image.pdf -resize 25% image.jpg