File/Convert/Solution/scaleimage.php wip_leon_T8090_word_reports_design_update_add
authorleon <leon@roojs.com>
Thu, 21 Mar 2024 02:55:05 +0000 (10:55 +0800)
committerleon <leon@roojs.com>
Thu, 21 Mar 2024 02:55:05 +0000 (10:55 +0800)
File/Convert/Solution/scaleimage.php

index b88cc0c..5ccede1 100644 (file)
@@ -96,8 +96,8 @@ class File_Convert_Solution_scaleimage extends File_Convert_Solution
                 $extent ="-extent '{$x}x{$y}>' -gravity center " . 
                     (
                         (!empty(self::$options['transparent_background'])) ? 
-                        "-background white" :
-                        "-transparent white"
+                        "-transparent white" :
+                        "-background white"
                     ) . 
                     " {$define}";
                 break;