X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6fcc37bb969a9298ef5ad850d8b8361fe6ca3a5a..0d4c5ff9be0016264c0448df5f3ad5c4d95adeaa:/writer.plp 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;