git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8200e
)
word edit: apply image gravity for empty conversion array
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 16 Oct 2020 02:42:24 +0000
(
04:42
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 20 Oct 2020 20:49:11 +0000
(22:49 +0200)
Centered only for NULL values, not defined ARRAY[].
writer.plp
patch
|
blob
|
history
diff --git
a/writer.plp
b/writer.plp
index 66e8f9f2590d13a1dd356e35bf57364c0e25dbb5..05e14659e3fb2769ec44d08a6776f675509e4978 100644
(file)
--- a/
writer.plp
+++ b/
writer.plp
@@
-219,7
+219,7
@@
elsif (defined $post{form}) {{
'convert',
$imgpath,
-delete => '1--1', -background => 'white',
- -gravity =>
@cmds
? 'northwest' : 'center',
+ -gravity =>
defined $row->{thumb}
? 'northwest' : 'center',
@cmds,
-resize => "$xyres^", -extent => $xyres,
'-strip', -quality => '60%', -interlace => 'plane',