ImageMagick是一个免费编辑创建合成图片的软件,大多数功能都来自命令行工具,具体可以参照http://www.imagemagick.org/script/index.php
brew install imagemagick
brew install imagemagick@6
brew unlink imagemagick
brew link imagemagick@6 --force
echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' ~/.bash_profile
ok,以上解决imagemagick版本问题。
必须安装gs,否则pdf无法转换。
brew install gs
wand:是Imagemagick的Python接口
pip3 install wand
http://blog.csdn.net/wwj_748/article/details/78135879?utm_source=tuicool&utm_medium=referral