Manual:$wgImageMagickConvertCommand

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil
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'
Other settings: Alphabetical | By function

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]