Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PDF to png/jpg/...
Date: Sun, 10 May 2009 17:56:13
Message-Id: 58965d8a0905101056i608fda03p60b022ba56935bcd@mail.gmail.com
In Reply to: Re: [gentoo-user] PDF to png/jpg/... by "Cédric Cabessa"
1 On Sun, May 10, 2009 at 5:57 AM, Cédric Cabessa <ced@×××××.net> wrote:
2 > Le dimanche 10 mai 2009 11:26:55, cramer a écrit :
3 >> Hi,
4 >>
5 >> does anyone know a trick/package, which allows my to
6 >> convert the pages of a pdf file to images via the commandline
7 >> (useable from a script).
8 >>
9 > imagemagick ?
10 >
11 > $ convert myfile.pdf prefix.jpg
12 >
13 > will create prefix-1.jpg, prefix-2.jpg, .... (one jpg by page)
14 >
15 > $ convert myfile.pdf[10-15] prefix.jpg
16 >
17 > if you want to extract only page 10 to 15.
18
19 I agree, that's what I use and it seems to work fine :)