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
精彩评论