converting specific page of pdf to jpg

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
manit
Posts: 123
Joined: 2009-01-30T22:31:26-07:00

converting specific page of pdf to jpg

Post by manit »

I am aware of some features in conversion from pdf to jpg like
-density 400 will make 400 pixel per inch for good resolution
Out file can be told output%04d.jpg which means that numbered from 0000,0001,,,so on for each page.

My question is if I want to convert only a particular page from big page pdf to jpg.
What do i do ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: converting specific page of pdf to jpg

Post by fmw42 »

convert image.pdf[#] image.jpg

where # is the page number (first page starts at 0)

see http://www.imagemagick.org/Usage/basics/#sequence
manit
Posts: 123
Joined: 2009-01-30T22:31:26-07:00

Thank you fmw42 .It works well

Post by manit »

Experienced users of imagemagick have helped a lot.
Post Reply