Manual:$wgImageMagickConvertCommand/zh

Category:MediaWiki configuration settings/zh#ImageMagickConvertCommandCategory:MediaWiki configuration settings introduced in version 1.2.0/zh#ImageMagickConvertCommandCategory:MediaWiki configuration settings still in use/zh#ImageMagickConvertCommandCategory:ImageMagick variables/zh#ImageMagickConvertCommand
ImageMagick: $wgImageMagickConvertCommand
The command used to invoke ImageMagick.
引进版本:1.2.0
移除版本:仍在使用
允许的值:(Absolute path)
'/usr/bin/convert'

细节

Set to the command used to invoke ImageMagick.

In order to find the path(s); in which convert is available, the following command can be used on the command line:

which -a convert

One of the returned paths should then be used for $wgImageMagickConvertCommand, e.g.:

$wgImageMagickConvertCommand = '/usr/local/bin/convert';

Under Windows it requires also the extension of the executable.

Example:

$wgImageMagickConvertCommand = 'C:/Program Files/ImageMagick/convert.exe';

參見

Category:ImageMagick variables/zh Category:MediaWiki configuration settings/zh Category:MediaWiki configuration settings introduced in version 1.2.0/zh Category:MediaWiki configuration settings still in use/zh