Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

PDF to picture

 
   Database Forums (Home) -> PHP RSS
Next:  How to detect if there is more then one capital l..  
Author Message
Toto

External


Since: Sep 14, 2007
Posts: 1



(Msg. 1) Posted: Fri Sep 14, 2007 8:57 am
Post subject: PDF to picture
Archived from groups: comp>lang>php (more info?)

Hello,

I seach the best way to convert the first page of a PDF file into a picture
(png, jpeg ..)
In fact i have for the moment 1500 PDF files and i want that the user see
the first page before use the link.
thanks

 >> Stay informed about: PDF to picture 
Back to top
Login to vote
gosha bine

External


Since: Apr 19, 2007
Posts: 27



(Msg. 2) Posted: Fri Sep 14, 2007 1:46 pm
Post subject: Re: PDF to picture [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 14.09.2007 13:14 Toto wrote:
> Hello,
>
> I seach the best way to convert the first page of a PDF file into a picture
> (png, jpeg ..)
> In fact i have for the moment 1500 PDF files and i want that the user see
> the first page before use the link.
> thanks
>
>

hi

try ghostscript, a command line postscript and pdf renderer

www.ghostscript.com

it goes like this

exec("gs -q -sDEVICE=jpeg -dBATCH -dNOPAUSE -dFirstPage=1 -dLastPage=1
-sOutputFile=output.jpg input.pdf 2>&1");



--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right Wink http://code.google.com/p/pihipi

 >> Stay informed about: PDF to picture 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Date picture taken? - Has anyone been able to get the "Date Picture Taken" summary info from a jpg file? This info is provided in WinXP (and maybe other OS) when you click properties, summary, advance for a jpeg file. PHP has the filectime, filemtime, and fileatime...

json and special chars - Hi! In my DB table I've chars like עטלש but when I generate json file I show \u00e0\u00f2\u00e8\u00ec\u00f9 is it right this change in my char? Thanks

Bootstrap for php developers - Hi ... I just started a project to make prototyping super quick. The idea is to create the navigation panels without writing any html from arrays. It also makes loading the boot strap easy with all the javascript plugins, so you can start developing a ph...

Simple question?? PHP..ODBC..and...dBASE - Ok this may be a dumb question to some but for the first time this evening I have to access dBASE file through ODBC.. I'm trying to do simple queries of SELECT * FROM ??? however I can't for the life of me figure out what to put in place of the ???. Any....

PHP for Dummies (Me being the dummy) - Maybe it is just cos it is Friday and my head is already gone away for the weekend but I just cannot get sessions working! Anyway - two pages. Page one starts session and registers a sesison variable, Page 2 tries to then print out the session..
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]