projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebb957
)
File/Convert/Solution/scaleimage.php
wip_leon_T8090_word_reports_design_update_add
author
leon
<leon@roojs.com>
Thu, 21 Mar 2024 02:55:05 +0000
(10:55 +0800)
committer
leon
<leon@roojs.com>
Thu, 21 Mar 2024 02:55:05 +0000
(10:55 +0800)
File/Convert/Solution/scaleimage.php
patch
|
blob
|
history
diff --git
a/File/Convert/Solution/scaleimage.php
b/File/Convert/Solution/scaleimage.php
index
b88cc0c
..
5ccede1
100644
(file)
--- a/
File/Convert/Solution/scaleimage.php
+++ b/
File/Convert/Solution/scaleimage.php
@@
-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;