|
Posted by laredotornado@zipmail.com on 02/01/08 20:28
On Feb 1, 7:14 am, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.com> wrote:
> On 1 Feb, 06:06, "laredotorn...@zipmail.com"
>
> <laredotorn...@zipmail.com> wrote:
> > Hi,
>
> > I'm using PHP 4.4.4 (but can upgrade if that's the answer to this
> > question). Given a PDF file, I want to be able to generate a JPG of
> > each page. I have no idea where to start but sure this is a problem
> > someone has tackled before.
>
> > Anything out there you would recommend? - Dave
>
> ghostscript:
>
> gs -sDEVICE=jpeg -sOutputFile=foo.jpg foo.pdf
>
> Should work
>
> C.
To clarify, what I want is if I have a single PDF with 5 pages, I'd
like to be able to have 5 separate JPG files -- each file representing
each page of the PDF. Also, this is not something I want to do
manually, but rather programmatically using PHP, or at least the Linux
system it is running on.
Thanks, - Dave
Navigation:
[Reply to this message]
|