Re: html2png
| From: | Al | Date: | Sat, 08 Sep 2007 15:39:29 +0000 |
| Subject: | Re: html2png | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261835@lists.php.net to get a copy of this message | ||
Imagick PHP extension, easiest, or Imagemagick command line using exec().
Imagick to read a pdf and output it as a jpeg:
header('Content-type: image/jpeg');
$obj = new Imagick('xxxxx.pdf');
$obj->SetImageFormat('jpeg');
echo $obj;
Your want to use montage, resizing and write the result to a file, etc.
timothy johnson wrote:
I was wondering if anyone knew of some php code that I could use to create thumbnails of webpages.