From 11cfbad55c5e0bc38fdd8f5d9e0d48b398003a36 Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Fri, 7 Oct 2011 18:48:36 +0000 Subject: [PATCH] (bug 31487) Don't specify -auto-orient, but specify image rotations ourselves --- includes/media/Bitmap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/media/Bitmap.php b/includes/media/Bitmap.php index 00d6dc28af..6c576153b9 100644 --- a/includes/media/Bitmap.php +++ b/includes/media/Bitmap.php @@ -318,7 +318,8 @@ class BitmapHandler extends ImageHandler { ( $params['comment'] !== '' ? " -set comment " . wfEscapeShellArg( $this->escapeMagickProperty( $params['comment'] ) ) : '' ) . - " -depth 8 $sharpen -auto-orient" . + " -depth 8 $sharpen " . + " -rotate -$rotation " . " {$animation_post} " . wfEscapeShellArg( $this->escapeMagickOutput( $params['dstPath'] ) ) . " 2>&1"; -- 2.20.1