I have a PDF and want to convert just the first page of the pdf to a jpg.
Is there an option to convert just the first page and not the entire document?
Is there another command line arguement i can add to the following...
Q:\PDFTools\test2\convert -auto-orient Q:\PDFTools\test3\36746513.pdf Q:\PDFTools\test3\36746513.jpg
converting 1 page of a pdf to jpg
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: converting 1 page of a pdf to jpg
convert image.pdf[0] image.jpg
or for more quality
convert -density 144 image.pdf[0] -resize 50% image.jpg
or
convert -density 288 image.pdf[0] -resize 25% image.jpg
The latter two do supersampling and will be slower.
see http://www.imagemagick.org/Usage/basics/#sequence
or for more quality
convert -density 144 image.pdf[0] -resize 50% image.jpg
or
convert -density 288 image.pdf[0] -resize 25% image.jpg
The latter two do supersampling and will be slower.
see http://www.imagemagick.org/Usage/basics/#sequence