GraphicsMagick 1.3.25 Linux安装部署

1.安装相关依赖包

yum install -y gcc libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel

2.下载GraphicsMagick

wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.25.tar.gz

3.解压GraphicsMagick

tar -zxvf GraphicsMagick-1.3.25.tar.gz

4.编译安装

cd GraphicsMagick-1.3.25
./configure --enable-shared

make
make install

5.验证安装

gm version

6.测试

gm convert -scale 100x100 1.png tmpfile.png

 

 

posted on 2018-08-03 14:01    阅读(896)  评论(0编辑  收藏  举报