From f9ffc522b6a4381fd4297cff4f71b70be3ecfc88 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 1 Oct 2021 10:12:31 +0000 Subject: [PATCH] wait #4726 @0.5 --- inc/ws/Util/class.ws.pdf.convert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/class.ws.pdf.convert.php b/inc/ws/Util/class.ws.pdf.convert.php index 875473397..58f6333fc 100644 --- a/inc/ws/Util/class.ws.pdf.convert.php +++ b/inc/ws/Util/class.ws.pdf.convert.php @@ -319,7 +319,7 @@ no-reuse-images if (file_exists($tmp)) { if ($format === 'jpg') { $cjpeg = new cubeCommandLine('/opt/mozjpeg/bin/cjpeg', null, true); - $cjpeg->setArg('-quality ' . ($quality + 6)); + $cjpeg->setArg('-quality ' . ($quality)); $cjpeg->setArg('-outfile ' . $out); $cjpeg->setArg(null, $tmp); $cjpeg->execute(); -- 2.39.5