12105040
https://github.com/rsms/node-imagemagick
在linux下要先安装imagemagick类库
https://github.com/rsms/node-imagemagick
在linux下要先安装imagemagick类库
win7下不能用 shell。。
im.resize // 报错 windows7 下
if (err) throw err;
^
Error: Command failed: ÎÞЧ²ÎÊý - -set
好东西。收藏了。
好东西。收藏了。
好东西。收藏了。
Ubuntu下就一条命令,不难啊.
apt-get install imagemagick
graphicmagick 也不错哦
@2008feixu 自己整很容易的啊...
var child_process = require('child_process');
var spawn = child_process.spawn;
本质上就是使用convert命令。;(
呃,自己写了代码调用了..