欢迎任何形式的转载--
You would possible need to compile it from the source with the options to what you
have misssing:
- yum remove ImageMagick
- yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
- wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.6.3-5.tar.gz
- tar zxvf ImageMagick-6.6.3-5.tar.gz
- cd ImageMagick-6.6.3-5
- ./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
- make clean
- make
- make install
参考网址:http://serverfault.com/questions/170395/adding-png-jpg-support-to-imagemagick-in-php-on-centos