Increased resolution and quality of thumbnails.

This commit is contained in:
flash 2023-11-09 21:53:07 +00:00
parent c73718b1fd
commit 258fc4b6ba

View file

@ -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();