Re: [PHP] PDF Thumbnails

2005-10-02 Thread [EMAIL PROTECTED]
How do I implement using your script? Do this take all of the files in a directory and convert them into pdf thumbnails? Where does the directory path go? Thanks for posting and the help. On 9/29/05, Matt Darby <[EMAIL PROTECTED]> wrote: > > I wrote a script for this; it's designed to run from the

Re: [PHP] PDF Thumbnails

2005-09-29 Thread Matt Darby
I wrote a script for this; it's designed to run from the command line in *nix, but can be triggered via exec(): Usage: ./pdf2thumb.php "source_dir" "out_dir" [code] #!/usr/local/bin/php echo("USAGE: pdf2thumb source_folder_path \n\n"); exit; } if(!isset($argv[1])){usage();} substr($a

RE: [PHP] PDF Thumbnails

2005-09-26 Thread Jim Moseby
> You would haven't happen to have an example? I am new to imagemagick. > Any help would be greatly appreciated. Sure! 'convert -size 85x110 -raise 10x10 rebate.pdf -resize 85x110 rebate.jpg' Assuming you have ImageMagick loaded, the above will take rebate.pdf and create an 85x110 thu

Re: [PHP] PDF Thumbnails

2005-09-26 Thread [EMAIL PROTECTED]
You would haven't happen to have an example? I am new to imagemagick. Any help would be greatly appreciated. On 9/26/05, Jim Moseby <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 26, 2005 1:43 AM > > To:

RE: [PHP] PDF Thumbnails

2005-09-26 Thread Jim Moseby
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, September 26, 2005 1:43 AM > To: php-general@lists.php.net > Subject: [PHP] PDF Thumbnails > > > I give my users an option to upload pdf files to my site and > would like them > to see a thumbnail vi

Re: [PHP] PDF Thumbnails

2005-09-26 Thread Frank Arensmeier
Hi. I've tried some different kinds of setups to do this. And my recommendation for you would be Ghostscript, maybe together with ImageMagick. Have a look at: http://www.imagemagick.org/script/index.php http://www.cs.wisc.edu/~ghost/ regards, frank 2005-09-26 kl. 07.42 skrev [EMAIL PROTECTED