English 中文(简体)
如何对超文本页面(jpeg、png等)进行筛选?
原标题:How can i make a screenshot of an HTML page (jpeg, png, etc..)?

我只想像在浏览器上那样,对网站进行筛选,并把它作为图像节目加以保存。 请允许我说,我有一个网站,在我浏览链接时,希望有预约功能。

从我的研究中,我发现,我可以从指挥线上开起火ox,而有些假想可以做透视,然后回来,而不是关闭。

但是,为了做到这一点,需要从安全角度开始服务器,而不要这样做,因为这对我的服务器造成危险。

我的哲学家是,在服务器上安装一台带有火ox的Xserver的虚拟机器,以及我与虚拟机器连接的手稿,在那里开起火法,获得图像并将其退回浏览器。 这应当是可能的,但似乎非常复杂。

So my question is: Do you know any other alternative to accomplish this in a more simple/elegant way? Your opinions are highly appreciated.

最佳回答

奥基,我找到了一个很好的解决办法。 我可以使用CasperJS/PhantomJS(http://casperjs.org/或其他无头浏览器,因此我不需要Xserver的操作。 感谢大家的支持!

问题回答

http:// Packages.debian.org/sid/cutycapt”rel=“nofollow”>Cutycapt 你们需要的是:

CutyCapt是一个小型的跨平台指挥系统,用于捕获WebKit将网页制作成各种病媒和模型格式,包括SVG、PDF、PS、PNG、JPEG、TIFF、GIF和BMP。

在Debian(Squeeze)和Utub已经包装。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签