Are there any available PHP script that can grab a screenshot of the url?
Like what browsershots.org did they can hav开发者_运维技巧e a screenshot of the url i have inputted are there any available script like that?
It's pretty easy to do with wkhtmltopdf and its wkhtmltoimage
variant:
exec("./wkhtmltoimage http://example.org/ image.png");
Note that the output filename must be in a writable location.
精彩评论