[FEATURE] Preserve image rotation if orient is saved in exif
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Imaging / GraphicalFunctions.php
index b6c8a51..8459588 100644 (file)
@@ -201,11 +201,11 @@ class GraphicalFunctions
     protected $saveAlphaLayer = false;
 
     /**
-     * ImageMagick scaling command; "-geometry" or "-sample". Used in makeText() and imageMagickConvert()
+     * ImageMagick scaling command; "-auto-orient -geometry" or "-auto-orient -sample". Used in makeText() and imageMagickConvert()
      *
      * @var string
      */
-    public $scalecmd = '-geometry';
+    public $scalecmd = '-auto-orient -geometry';
 
     /**
      * Used by v5_blur() to simulate 10 continuous steps of blurring