Hi there, I am using the below command to create png images from pdf documents. I am only ever interested in the first page of the pdf document. That is, I only ever want a png of the first page of any pdf document. In my collection of pdf documents the number of pages range from 1 onwards. Is there a way to modify the below command to include saying "only convert the first page into a png, ignore the rest" ?
convert -density 300 input.pdf -scale 400000 output.png
Thank-you in advance, Michelle
Create png from only first page of pdf file
Re: Create png from only first page of pdf file
Try:
I think that the count starts from 0 and not 1
Code: Select all
convert -density 300 input.pdf[0] -scale 400000 output.png
Re: Create png from only first page of pdf file
great. thank-you. it works perfectly. 
