开发者

Are there any available PHP script that can grab a screenshot of the url?

开发者 https://www.devze.com 2023-02-24 22:35 出处:网络
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 wkhtmltoim

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

精彩评论

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