Manual talk:$wgImageMagickConvertCommand

How can I verify whether this magickConvert works properly in the process of uploading file, but the result of uploading is failed? --Mints 01:59, 20 May 2009 (UTC)

Solution for GraphicsMagick issues on 1.23.x
In MediaWiki 1.23.x I had received a number of issues including Unrecognized command 'quality'. and while trying to setup GraphicsMagick instead of ImageMagick. The issue was that /etc/bin/gm was expecting /etc/bin/gm convert. Setting the $wgImageMagickConvertCommand to include "convert" just causes the wfShellEcecWithStderr to throw the No such file or directory error. A solution I found was to add array( "convert"), after the $wgImageMagickConvertCommand inside the Bitmap.php file.

$cmd = call_user_func_array( 'wfEscapeShellArg', array_merge( array( $wgImageMagickConvertCommand ), array( "convert"), $quality, // Specify white background color, will be used for transparent images // in Internet Explorer/Windows instead of default black. Hope somebody finds this while scouring the web, because I searched every combination of the above words I could think of and found nothing related. Pale2hall (talk) 04:12, 8 October 2014 (UTC)

Alternatively: create a script
I ran into the same problem. I rather prefer not to mess around with internal files. Therefore, I thought about creating a script which executes GraphicsMagick with an additional parameter. For example,   create a file    make it executable   update the command in    - Christoph, 179.104.247.35 15:09, 28 May 2015 (UTC)