如何以编程方式创建给定网站的屏幕截图? [英] How can I programmatically create a screen shot of a given Web site?

查看:66
本文介绍了如何以编程方式创建给定网站的屏幕截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够创建给定网站的屏幕截图,但该网站可能比在屏幕上所能看到的要大.有没有办法做到这一点?

I want to be able to create a screen shot of a given Web site, but the Web site may be larger than can be viewed on the screen. Is there a way I can do this?

目标是在 WinForms 应用程序中使用 C# 中的 .NET 执行此操作.

Goal is to do this with .NET in C# in a WinForms application.

推荐答案

有几个工具.

问题是,你需要在某个给定的程序中渲染它,并拍摄它的快照.我不了解 .NET,但这里有一些工具可以查看.

The thing is, you need to render it in some given program, and take a snapshot of it. I don't know about .NET but here are some tools to look at.

  • KHTML2PNG
  • imagegrabwindow() (Windows PHP Only)
  • Create screenshots of a web page using Python and QtWebKit
  • Website Thumbnails Service
  • Taking automated webpage screenshots with embedded Mozilla

这篇关于如何以编程方式创建给定网站的屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆