From 0d4c5ff9be0016264c0448df5f3ad5c4d95adeaa Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 15 Jun 2020 23:18:00 +0200 Subject: [PATCH] word edit: image source precede thumbnail convert options Required for combining operations such as -clut; same results otherwise. --- writer.plp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/writer.plp b/writer.plp index b549917..3c0b248 100644 --- 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; -- 2.30.0