开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜