From f6a56971c28026ca8f67783518b0ba6a39e1f8bc Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 18 Jan 2020 15:14:10 +0100 Subject: [PATCH] thumb: prefer progressive jpeg encoding Intermediate rendering for faster results, and overall smaller file sizes similar (if not identical) to jpegtran -optimize or PageSpeed. --- thumb/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/thumb/index.php b/thumb/index.php index fbea220..5291047 100644 --- a/thumb/index.php +++ b/thumb/index.php @@ -90,6 +90,7 @@ function mkthumb_exec($source, $target, $width, $height) '-delete', '1--1', '-trim', '-background', 'white', '-layers', 'flatten', + '-interlace', 'plane', # progressive '-resize', "${width}x${height}", '-quality', '90%', $source, "jpg:$target" -- 2.30.0