Quantcast
Channel: IT社区推荐资讯 - ITIndex.net
Viewing all articles
Browse latest Browse all 15843

linux JMagick和ImageMagick安装

$
0
0

一、下载JMagick和ImageMagick

wget_ http://downloads.jmagick.org/6.4.0/jmagick-6.4.0-src.tar.gz
wget_ http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz
二、安装依赖包

yum install libpng
yum install libpng-devel
yum install libjpeg
yum install libjpeg-devel
yum install gd
yum install gd-devel
 yum install libtiff
 yum install libtiff-devel
三、安装ImageMagick

tar xzvf ImageMagick-6.4.0-0.tar.gz
cd ImageMagick-6.4.0
./configure --prefix=/usr/local/imgtools/JMagick
make
make install
四、安装并配置JMagick

tar xzvf jmagick-6.4.0-src.tar.gz
cd 6.4.0
./configure --with-java-home=/usr/java/default --with-magick-home=/usr/local/imgtools/JMagick
make
make install
# 拷贝libJMagick.so到JRE
cp /home/install/6.4.0/lib/libJMagick-6.4.0.so  /usr/java/default//jre/lib/amd64/libJMagick.so
# 拷贝magick-6.4.0.jar到install目录备份
cp /home/install/6.4.0/lib/jmagick-6.4.0.jar /home/install/magick-6.4.0.jar


作者:chabale 发表于2013-5-15 15:31:24 原文链接
阅读:86 评论:0 查看评论

Viewing all articles
Browse latest Browse all 15843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>