運行時配置

這些函數(shù)的行為受 php.ini 中的設(shè)置影響。

Imagick configuration options
名字 默認(rèn) 可修改范圍 更新日志
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
有關(guān) PHP_INI_* 樣式的更多詳情與定義,見 配置可被設(shè)定范圍。

這是配置指令的簡短說明。

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.