Re: [PHP] Re: html2png

2007-09-10 Thread Al
Like I said ... or Imagemagick command line using exec().  It's been a stable 
release for years.


Kevin Waterson wrote:

This one time, at band camp, Al [EMAIL PROTECTED] wrote:
The Imagick php extension is at RC2 and like all beta ware,
should not be considered for a production environment.



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('x.pdf');
$obj-SetImageFormat('jpeg');
echo $obj;

Your want to use montage, resizing and write the result to a file, etc.






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



[PHP] Re: html2png

2007-09-08 Thread Al

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('x.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



Re: [PHP] Re: html2png

2007-09-08 Thread Kevin Waterson
This one time, at band camp, Al [EMAIL PROTECTED] wrote:
The Imagick php extension is at RC2 and like all beta ware,
should not be considered for a production environment.


 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('x.pdf');
 $obj-SetImageFormat('jpeg');
 echo $obj;
 
 Your want to use montage, resizing and write the result to a file, etc.



-- 
Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote.

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