Jump to content

Manual:$wgImageMagickConvertCommand

From mediawiki.org
ImageMagick: $wgImageMagickConvertCommand
The command used to invoke ImageMagick.
Introduced in version:1.2.0
Removed in version:Still in use
Allowed values:(Absolute path)
Default value:'/usr/bin/convert'

Details

[edit]

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';

See also

[edit]