Phantomjs编写完全透明的图像
我的Debian服务器上的SimplePhantomjs编写完全透明的图像,phantomjs,Phantomjs,我的Debian服务器上的Simplerasterize.jsscript(来自phantomjs示例)有时会写入完全透明的图像(如果是PNG),但它有规则的维度。这种情况大多数时候都会发生,但很少有时候会形成正确的形象。 我不知道为什么会这样 我的系统: Debian GNU/Linux 7.2 (wheezy) with ext4 Phantomjs 1.9.2 rendering sites: http://www.yahoo.com/ and http://phantomjs.org/
rasterize.js
script(来自phantomjs示例)有时会写入完全透明的图像(如果是PNG),但它有规则的维度。这种情况大多数时候都会发生,但很少有时候会形成正确的形象。
我不知道为什么会这样
我的系统:
Debian GNU/Linux 7.2 (wheezy) with ext4
Phantomjs 1.9.2
rendering sites: http://www.yahoo.com/ and http://phantomjs.org/
使用的脚本:
PS:我在CentOS服务器上也遇到了这个问题。在渲染到图像之前,您是否尝试将延迟时间增加到so的一半?顺便说一句,node.js标记似乎不相关,所以我删除了它。在原始脚本示例中是延迟。