You are here: Re: How to get a JPG image from a PDF? « PHP Programming Language « IT news, forums, messages
Re: How to get a JPG image from a PDF?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация