If you use the convert command line, you can execute it using these parameters:
convert source.pdf[0] output.jpeg
Note that the number of pages in ImageMagick is 0. Therefore, [0] means "page 1". To select, say, the 4th page, you will need to use [3] .
This syntax not only works for PDF input. It also works with other multi-page or multi-frame formats, such as multi-page TIFFs or animated multi-frame GIFs and PNGs.
Arkadiusz 'flies' Rzadkowolski Sep 27 '12 at 5:48 2012-09-27 05:48
source share