IECapt生成网页快照帮助如下:
C:\>IECapt.exe help
-----------------------------------------------------------------------------
Usage: IECapt --url=http://www.example.org/ --out=localfile.png
-----------------------------------------------------------------------------
--help Print this help page and exit
--url=<url> The URL to capture (http:...|file:...|...)
--out=<path> The target file (.png|bmp|jpeg|emf|...)
--min-width=<int> Minimal width for the image (default: 800)
--max-wait=<ms> Don't wait more than (default: 90000, inf: 0)
--delay=<ms> Wait after loading (e.g. for Flash; default: 0)
--silent Whether to surpress some dialogs
----------------------------------------------------------------------------
CutyCapt下载地址:http://sourceforge.net/projects/cutycapt/files/cutycapt/
windows CutyCapt不需要安装,直接保存到你的电脑中即可。
然后你php代码如下写
代码如下 | 复制代码 |
<?php |
如果你是linux系统就需要简单的配置一下CutyCapt