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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to