RE: [PHP] Create a screenshot of a website
| From: | Andrea Giammarchi | Date: | Thu, 22 Oct 2009 14:17:25 +0000 |
| Subject: | RE: [PHP] Create a screenshot of a website | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299200@lists.php.net to get a copy of this message | ||
Rob, I agree, but you are suggesting is khtml2png which is cool, perfect, fantastic, but it's
not PHP, isn't it?
You ask me: I want a snap via PHP
I reply: well, I don't think such thing exists: a render engine entirely written in PHP and GD2
Maybe we should create one ...
Regards
> Date: Thu, 22 Oct 2009 09:40:47 -0400
> From: robert@interjinn.com
> To: an_red@hotmail.com
> CC: reseasoul@gmail.com; php-general@lists.php.net
> Subject: Re: [PHP] Create a screenshot of a website
>
> Andrea Giammarchi wrote:
> > What you see is what a browser engine renders for your eyes while what you can do with PHP
> > is a snapshot of the source code.
>
> One should remember that PHP serves quite well both as a glue language
> and as a wrapper language. There is no reason why you can't use PHP to
> create a simple lib around something like khtml2png so that the
> screenshot can be gathered on demand using simple PHP style function calls.
>
> Cheers,
> Rob.
> --
> http://www.interjinn.com
> Application and Templating Framework for PHP
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010