使用ColdFusion,Java或命令行实用程序将网页转换为图像? [英] turn a web page into an image with ColdFusion, Java or command line utility?

查看:110
本文介绍了使用ColdFusion,Java或命令行实用程序将网页转换为图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ColdFusion中的原生古代解决方案,用于使用HTML 3.x ...

Native ancient solution in ColdFusion that used to work with HTML 3.x...

<cfhttp url="#targetUrl#" resolveurl="yes"> 

<cfdocument format="pdf" name="pdfVar">
    #cfhttp.filecontent# 
</cfdocument> 

<cfpdf action="thumbnail" source="#pdfVar#" pages="1" destination="image">
<cfimage action="writeToBrowser" source="#image#">

超慢,即使有缓存,很多CSS样式缺失或损坏。

Super slow, even with cache, many CSS styles missing or broken.

任何好的服务器端解决方案,将渲染的网页捕获到缩略图中?像 http://www.shrinktheweb.com/ 提供的服务?

Any good server-side solution to capture a rendered webpage into a thumbnail? like service provided by http://www.shrinktheweb.com/ ?

任何ColdFusion,Java或命令行实用程序解决方案?

Any ColdFusion, Java or Command line utility solution?

推荐答案

我们最终使用SiteShoter渲染引擎。 http://www.nirsoft.net/utils/web_site_screenshot.html

We ended up using SiteShoter which uses IE as the renderering engine. http://www.nirsoft.net/utils/web_site_screenshot.html

这篇关于使用ColdFusion,Java或命令行实用程序将网页转换为图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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