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:
6fcc37b
)
word edit: image source precede thumbnail convert options
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 15 Jun 2020 21:18:00 +0000
(23:18 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 20 Oct 2020 20:49:11 +0000
(22:49 +0200)
Required for combining operations such as -clut; same results otherwise.
writer.plp
patch
|
blob
|
history
diff --git
a/writer.plp
b/writer.plp
index b5499173be7a37623b461c73e1667f0cbc723c26..3c0b248bf9d859160269261912e745fa39bb16ad 100644
(file)
--- a/
writer.plp
+++ b/
writer.plp
@@
-297,12
+297,13
@@
elsif (defined $post{form}) {{
}
@cmds = (
'convert',
+ $imgpath,
-delete => '1--1', -background => 'white',
-gravity => @cmds ? 'northwest' : 'center',
@cmds,
-resize => "$xyres^", -extent => $xyres,
'-strip', -quality => '60%', -interlace => 'plane',
- $
imgpath => $
thumbpath
+ $thumbpath
);
eval {
require IPC::Run;