首頁論壇分類作業系統LinuxCentOS 7.x 編譯安裝 ImageMagick
CentOS 7.x 編譯安裝 ImageMagick
   編 輯        刪 除      # 5c8224a78a44e 發表: Odyssey     新增:2018-09-17 14:47:15     更新:2020-01-20 11:40:11

Convert, Edit, Or Compose Bitmap Images @ ImageMagick

https://imagemagick.org/index.php


Download @ ImageMagick

https://imagemagick.org/script/download.php


Install from Source @ ImageMagick

https://imagemagick.org/script/install-source.php


下載 ImageMagick

cd /usr/local/src
lynx https://github.com/ImageMagick/ImageMagick/archive/7.0.9-2.tar.gz

安裝 ImageMagick

tar zxf ImageMagick-7.0.9-2.tar.gz
cd ImageMagick-7.0.9-2
./configure --prefix=/usr/local/ImageMagick
make
make check
make install
make clean

執行位置

/usr/local/ImageMagick/bin/magick

指令說明

/usr/local/ImageMagick/bin/magick -help

轉換格式

/usr/local/ImageMagick/bin/convert

Imagick/imagick: Imagick PHP extension

https://github.com/Imagick/imagick


下載 imagick

cd /usr/local/src
lynx https://github.com/Imagick/imagick/archive/3.4.4.tar.gz

安裝 imagick

tar zxf imagick-3.4.4.tgz
cd imagick-3.4.4
/usr/local/php7/bin/phpize
./configure --with-php-config=/usr/local/php7/bin/php-config --with-imagick=/usr/local/ImageMagick
make
make test
make install
make clean

設定 php.ini

vi /usr/local/php7/etc/php.ini
extension=imagick.so

夢幻奧德修斯 - OdysseusDream

Website:https://www.odysseusdream.com/

Discord:https://discord.gg/ht4mwMG

FB社團:https://www.facebook.com/groups/OdysseusDream/

FB粉專:https://www.facebook.com/OdysseusDream/

我要回覆
CentOS 7.x 編譯安裝 ImageMagick
首頁論壇分類作業系統LinuxCentOS 7.x 編譯安裝 ImageMagick