X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f0a869638caa32e6dc82f9a54bd8448015f8b638..e6912204bcdb3598135d7d2c7158fd31e8fe6f43:/thumb/index.php?ds=sidebyside diff --git a/thumb/index.php b/thumb/index.php index c65cab3..d296fbf 100644 --- a/thumb/index.php +++ b/thumb/index.php @@ -91,6 +91,8 @@ function mkthumb_exec($source, $target, $width, $height) '-trim', '-background', 'white', '-layers', 'flatten', # opaque '-interlace', 'plane', # progressive + '-strip', '-taint', # omit metadata + '-sampling-factor', '4:2:0', '-colorspace', 'sRGB', # half chroma '-resize', "${width}x${height}", '-quality', '85%', $source, "jpg:$target"