X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/f0a869638caa32e6dc82f9a54bd8448015f8b638..ead5bed24e07383fbcf783c3b5c70a755dbc1982:/thumb/index.php 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"