Manual:$wgImageMagickConvertCommand

Details
Set the command used to invoke ImageMagick in LocalSettings.php.

Under Windows it requires also the name of the executable. (usually convert.exe)

Example: