Increased resolution and quality of thumbnails.
This commit is contained in:
parent
c73718b1fd
commit
258fc4b6ba
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue