Jump to content

Manual:$wgImageMagickConvertCommand/zh

From mediawiki.org
This page is a translated version of the page Manual:$wgImageMagickConvertCommand and the translation is 20% complete.
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';

參見