Re: html2png

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux