Imagick/setup-Phpdoc专题
安装/配置
目录
需求
Installation requirements on Windows
Version information does not differ from that above. There are binaries available from http://www.imagemagick.org/ so that you can load this extension on Windows without need for a compiler.
Installation requirements on other platforms
PHP >= 5.1.3 and ImageMagick >= 6.2.4 is required. The amount of file formats supported by Imagick depends entirely upon the amount of formats supported by your ImageMagick installation. For example, Imagemagick requires ghostscript to conduct PDF operations.
安装
此 » PECL 扩展未与 PHP 捆绑。
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/imagick.
Note: The official name of this extension is imagick.
Windows users can download prebuilt DLL from the » PECL website.
运行时配置
这些函数的行为受 php.ini
中的设置影响。
名字 | 默认 | 可修改范围 | 更新日志 |
---|---|---|---|
imagick.locale_fix | false |
PHP_INI_ALL | Available since Imagick 2.1.0 |
imagick.progress_monitor | false |
PHP_INI_SYSTEM | Available since Imagick 2.2.2 |
imagick.skip_version_check | false |
PHP_INI_SYSTEM | Available since Imagick 3.3.0 |
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围。
这是配置指令的简短说明。
imagick.locale_fix
bool
Fixes a drawing bug with locales that use ',' as float separators.
imagick.progress_monitor
bool
Used to enable the image progress monitor.
imagick.skip_version_check
bool
When Imagick is loaded, it checks the version number of ImageMagick that
it was compiled against, with the version number that is currently being
used and will give a warning if they don't match. This warning can be
suppressed by enabling this ini setting.
Using a version of Imagick that was compiled against a different version of ImageMagick than the one being used is not recommended. Although it may appear to work, it can lead to random crashes or other undefined behaviour.
资源类型
此扩展没有定义资源类型。