开发者

How to Take screenShot or image of web page part

开发者 https://www.devze.com 2023-02-25 01:53 出处:网络
I Am working on facebook application. Now I want to add a feature That user can post Image of application.

I Am working on facebook application. Now I want to add a feature That user can post Image of application.

I have done everything earlier means i have code for posting and for application.

But I am not able to take image of that application. Application is working on within the IFame in facebook.

So may main concern to get Image that html page that is showing in Iframe.

I have tried out lot of code snippet Nothing is working for me. Please suggest me that how can i take image of any specific part of web page.开发者_Go百科

Thanks


You could try wkhtmltoimage, which looks like it has some Windows support. Once its installed, you just run wkhtmltoimage http://www.site.com site.screenshot.png.

0

精彩评论

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