linux下安装GraphicsMagick
2017-06-25 23:15
423 查看
系统为CentOS
1. 下载GraphicsMagick的文件GraphicsMagick-1.3.22.tar.gz
2. 将文件复制到/usr/local目录下
3. 解压GraphicsMagick-1.3.22.tar.gz文件,tar –zxvf GraphicsMagick-1.3.22.tar.gz
4. 在GraphicsMagick-1.3.22的目录里面配置,
./configure --prefix=/usr/local/GraphicsMagick-1.3.12
5. 安装,执行make 和 make all
6. 在/etc/profile中添加配置
export GMAGICK_HOME="/usr/local/GraphicsMagick-1.3.22"
export PATH="$GMAGICK_HOME/bin:$PATH"
LD_LIBARY_PATH=$GMAGICK_HOME/lib:$LD_LIBARY_PATH
export LD_LIBARY_PATH
然后保存配置:source /etc/profile
7. 测试是否安装成功
gm convert –list formats 若出现下面的:
Format L Mode Description
--------------------------------------------------------------------------------
3FR S r-- Hasselblad Photo RAW
8BIM P rw- Photoshop resource format
8BIMTEXT P rw- Photoshop resource text format
8BIMWTEXT P rw- Photoshop resource wide text format
………………
VICAR S rw- VICAR rasterfile format
VID S rw+ Visual Image Directory
VIFF S rw+ Khoros Visualization image
VST S rw+ Truevision Targa image
WBMP S rw- Wireless Bitmap (level 0) image
WPG S r-- Word Perfect Graphics
X3F S r-- Foveon X3 (Sigma/Polaroid) RAW
XBM S rw- X Windows system bitmap (black/white)
XC P r-- Constant image uniform color
XCF S r-- GIMP image
XMP P rw- Adobe XML metadata
XPM S rw- X Windows system pixmap (color)
XV S rw+ Khoros Visualization image
Y S rw+ Raw yellow samples
YUV S rw- CCIR 601 4:1:1 or 4:2:2 (8-bit only)
则安装成功。
1. 下载GraphicsMagick的文件GraphicsMagick-1.3.22.tar.gz
2. 将文件复制到/usr/local目录下
3. 解压GraphicsMagick-1.3.22.tar.gz文件,tar –zxvf GraphicsMagick-1.3.22.tar.gz
4. 在GraphicsMagick-1.3.22的目录里面配置,
./configure --prefix=/usr/local/GraphicsMagick-1.3.12
5. 安装,执行make 和 make all
6. 在/etc/profile中添加配置
export GMAGICK_HOME="/usr/local/GraphicsMagick-1.3.22"
export PATH="$GMAGICK_HOME/bin:$PATH"
LD_LIBARY_PATH=$GMAGICK_HOME/lib:$LD_LIBARY_PATH
export LD_LIBARY_PATH
然后保存配置:source /etc/profile
7. 测试是否安装成功
gm convert –list formats 若出现下面的:
Format L Mode Description
--------------------------------------------------------------------------------
3FR S r-- Hasselblad Photo RAW
8BIM P rw- Photoshop resource format
8BIMTEXT P rw- Photoshop resource text format
8BIMWTEXT P rw- Photoshop resource wide text format
………………
VICAR S rw- VICAR rasterfile format
VID S rw+ Visual Image Directory
VIFF S rw+ Khoros Visualization image
VST S rw+ Truevision Targa image
WBMP S rw- Wireless Bitmap (level 0) image
WPG S r-- Word Perfect Graphics
X3F S r-- Foveon X3 (Sigma/Polaroid) RAW
XBM S rw- X Windows system bitmap (black/white)
XC P r-- Constant image uniform color
XCF S r-- GIMP image
XMP P rw- Adobe XML metadata
XPM S rw- X Windows system pixmap (color)
XV S rw+ Khoros Visualization image
Y S rw+ Raw yellow samples
YUV S rw- CCIR 601 4:1:1 or 4:2:2 (8-bit only)
则安装成功。
相关文章推荐
- Linux下编译安装GraphicsMagick及PHP扩展gmagick
- GraphicsMagick在Linux环境的安装
- GraphicsMagick Linux安装
- linux安装GraphicsMagick
- 【Linux初学】nginx-lua-fastdfs-GraphicsMagick安装(八)
- Linux下安装JDK+Tomcat+APR+GraphicsMagick
- linux 下 GraphicsMagick 安装
- GraphicsMagick 1.3.25 Linux安装部署
- Linux下安装GraphicsMagick
- linux下GraphicsMagick 的安装
- GraphicsMagick在Linux环境的安装【jpeg failed tests处理】
- GraphicsMagick在Linux环境的安装 和 im4java的配置
- GraphicsMagick在mac-os下货Linux下安装及使用
- 在Linux下安装Mono 1.0
- 如何在 Red Hat Linux 9 上安装 Eclipse
- 多系统安装实践(Window /FreeBSD/Linux)
- 自己的linux系统安装以及软件配置
- 在 Linux 上安装 PostgreSQL(新)
- 在linux下安装oracle 9i 全文档
- 安装Debian Linux 3.0r1系统