imagick是一个PHP的扩展,用ImageMagick提供的API来进行图片的创建与修改,不过这些操作已经包装到扩展imagick中去了,最终调用的是ImageMagick提供的API.ImageMagick是一套软件系列,主要用于图片的创建、编辑以及转换等,详细的解释见ImageMagick的官方网站http://www.imagemagick.org/,ImageMagick与GD的性能要高很多,如果是在处理大量的图片时更加能体现ImageMagick的性能。 
	1. 下载安装ImageMagick
wget http://www.imagemagick.org/download/legacy/ImageMagick-6.6.8-10.tar.gz tar -xzvf ImageMagick-6.6.8-10.tar.gz ./configure --prefix=/usr/local/imagemagick make make install
2. 下载安装Imagick
	注:安装该扩展不要求安装ImageMagick
	从http://pecl.php.net/package/imagick找到imagick的最新的版本
     wget http://pecl.php.net/get/imagick-3.1.0RC1.tgz     
          tar -xzvf imagick-3.1.0RC1  
          phpize  
          ./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/imagemagick  
          make  
          make install
make install执行结果显示:
	Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
	Installing header files:          /usr/local/php/include/php/
生成imagick.so到/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/,然后手动配置php.ini使其生效