安装imagemagick
下载地址 http://www.imagemagick.org/download/ImageMagick.tar.gz
wget http://www.imagemagick.org/download/ImageMagick.tar.gz tar zxvf ImageMagick.tar.gz cd ImageMagick-6.8.5-10/ ./configure make sudo make install sudo ldconfig /usr/local/lib /usr/local/bin/convert logo: logo.gif make check
用法 http://blog.csdn.net/lan861698789/article/details/7738383