From 258fc4b6bab079e5c5ab6803dd8cbec128b2109f Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 9 Nov 2023 21:53:07 +0000 Subject: [PATCH] Increased resolution and quality of thumbnails. --- src/Uploads/UploadsContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uploads/UploadsContext.php b/src/Uploads/UploadsContext.php index 7e41351..676743c 100644 --- a/src/Uploads/UploadsContext.php +++ b/src/Uploads/UploadsContext.php @@ -131,9 +131,9 @@ class UploadsContext { } $imagick->setImageFormat('jpg'); - $imagick->setImageCompressionQuality($this->config->getInteger('thumb:quality', 40)); + $imagick->setImageCompressionQuality($this->config->getInteger('thumb:quality', 80)); - $thumbRes = $this->config->getInteger('thumb:dimensions', 100); + $thumbRes = $this->config->getInteger('thumb:dimensions', 300); $width = $imagick->getImageWidth(); $height = $imagick->getImageHeight();