X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/170f16e2dd3a643423ea3681bf4ea42d320e1cf4..2c4ab348002aa511155c5aaeb6cad19b5d6eca6e:/thumb/index.php diff --git a/thumb/index.php b/thumb/index.php index 4549b44..fbea220 100644 --- a/thumb/index.php +++ b/thumb/index.php @@ -87,6 +87,7 @@ function mkthumb_exec($source, $target, $width, $height) } $cmd = implode(' ', array_map('escapeshellarg', [ 'convert', + '-delete', '1--1', '-trim', '-background', 'white', '-layers', 'flatten', '-resize', "${width}x${height}",