From 0e65bb7961d00be8d5614bb2f17558c310e5194b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 16 Dec 2008 21:56:44 +0000 Subject: [PATCH] Update $wgSVGConverters default command lines to send both width and height to ImageMagick convert --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index bb23559f8b..100c50a3f6 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2023,7 +2023,7 @@ $wgCustomConvertCommand = false; # # An external program is required to perform this conversion: $wgSVGConverters = array( - 'ImageMagick' => '$path/convert -background white -geometry $width $input PNG:$output', + 'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output', 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output', 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output', 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input', -- 2.20.1