1 Star 0 Fork 7

rtlhq/imagemagick

forked from openKylin/imagemagick 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
QuickStart.txt 4.35 KB
一键复制 编辑 原始数据 按行查看 历史
rtlhq 提交于 2023-02-03 21:16 . Import Upstream version 6.9.11.60
This file documents how to use the binary distribution packages built by
ImageMagick Studio LLC, and found in the ImageMagick 'binaries' subdirectory
of ImageMagick ftp sites. Those who want to build ImageMagick from source
code should refer to https://imagemagick.org/script/install-source.php.
Unix/Linux/Darwin/Mac OS X/Cygwin/MinGW Install:
Download the appropriate binary from
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries
Create (or choose) a directory to install the package into and change to that
directory, for example:
cd $HOME
Extract the contents of the package using the command
gzip -dc /path/to/package.tar.gz | tar -xf -
If the 'bin' subdirectory of the extracted package is not already in your
executable search path, add it to your PATH environment variable. For
example
export PATH; PATH="$HOME/ImageMagick/bin:$PATH"
Set the MAGICK_HOME environment variable to the path where you extracted the
ImageMagick files. For example
export MAGICK_HOME="$HOME/ImageMagick-6.9.11"
On Linux and Solaris machines set the LD_LIBRARY_PATH environment variable:
export LD_LIBRARY_PATH="$HOME/ImageMagick-6.9.11/lib"
On Mac OS X (Darwin) machines set the DYLD_LIBRARY_PATH environment variable:
export DYLD_LIBRARY_PATH="$HOME/ImageMagick-6.9.11/lib"
Now, test ImageMagick to see if it is working
convert logo: logo.gif
display logo.gif
To install PerlMagick type
cd ImageMagick-6.9.11/PerlMagick
perl Makefile.PL
make
make install
Additional Information
Environment Variables:
In addition to the MAGICK_HOME environment variable defined above, you may
find these variables useful:
MAGICK_TMPDIR path to store temporary files
LD_LIBRARY_PATH path to libMagick.so and other libraries
Configuration Files
ImageMagick depends on a number of external configuration files which
include colors.xml, delegates.xml, magic.xml, coder.xml, and others.
ImageMagick searches for configuration files in the following order, and
loads them if found:
$MAGICK_CONFIGURE_PATH
$MAGICK_HOME/etc/ImageMagick
$MAGICK_HOME/share/ImageMagick-6.9.11/config
$HOME/.config/ImageMagick
<client path>/etc/ImageMagick/
<current directory>/
Font Files
ImageMagick is able to load raw TrueType and Postscript font files. It
searches for the font configuration file, type.xml, in the following
order, and loads them if found:
$MAGICK_CONFIGURE_PATH
$MAGICK_HOME/etc/ImageMagick
$MAGICK_HOME/share/ImageMagick-6.9.11/config
$HOME/.config/ImageMagick
<client path>/etc/ImageMagick/
<current directory>/
$MAGICK_FONT_PATH
Module Files
ImageMagick's file format support is usually provided in the form of
loadable modules. It searches for loadable modules in the following order
and it uses the first match found:
<current directory>/
$MAGICK_HOME/etc/ImageMagick/modules-Q16/coders/
$HOME/.config/ImageMagick
<client path>/../etc/ImageMagick/modules-Q16/coders/
$MAGICK_HOME/etc/ImageMagick/modules-Q16/coders
$MAGICK_HOME/share/ImageMagick-6.9.11/modules-Q16/coders
$HOME/.config/ImageMagick
<client path>/etc/ImageMagick/modules-Q16/coders
<current directory>/
Windows Vista, XP, and NT Install:
Download one of
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.9.11-85-Q16-windows-dll.exe
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.9.11-85-Q16-windows-static.exe
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.9.11-85-Q8-windows-dll.exe
ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.9.11-85-Q8-windows-static.exe
and execute it (or "open" it from your browser) to start the installation
program.
Once ImageMagick is installed, Select Start->Programs->Command Prompt. In
the Command Prompt window type
convert logo: logo.gif
imdisplay logo.gif
If you have an X11 server, from the Command Prompt window type
set DISPLAY=:0
display
VMS Install:
Type
unzip ImageMagick.zip
set default [.imagemagick]
@make
identify -verbose logo:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rtlhq/imagemagick.git
git@gitee.com:rtlhq/imagemagick.git
rtlhq
imagemagick
imagemagick
openkylin/yangtze

搜索帮助

0d507c66 1850385 C8b1a773 1850385