diff options
-rw-r--r-- | lib/private/Preview/Imaginary.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Preview/Imaginary.php b/lib/private/Preview/Imaginary.php index a9883a1dd9c..e78b9b441f6 100644 --- a/lib/private/Preview/Imaginary.php +++ b/lib/private/Preview/Imaginary.php @@ -90,6 +90,8 @@ class Imaginary extends ProviderV2 { $mimeType = 'jpeg'; } + $quality = $this->config->getAppValue('preview', 'jpeg_quality', '80'); + $operations = [ [ 'operation' => 'autorotate', @@ -102,6 +104,7 @@ class Imaginary extends ProviderV2 { 'stripmeta' => 'true', 'type' => $mimeType, 'norotation' => 'true', + 'quality' => $quality, ] ] ]; |