开发者

Rendering HTML to PNG / JPEG

I am looking fo开发者_运维知识库r a php library or an unix shell tool to render a HTML page into a single png/jpg image.

Is there any?


I found a promising project.

It rendered the following code in 0.133 seconds using the webkit plugin.

<html>
<body>
<b><u>abc</u></b>
<table><tr><td>abc</td></tr></table>
</body>
</html>

http://sourceforge.net/projects/cutycapt/

Unfortunately it works only for Windows.


There is another webkit implementation using python.

XServer-less webpage screenshot

http://www.insecure.ws/2008/09/16/xserver-less-webpage-screenshot

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜