mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #35566 from pulsejet/patch-imaginary
preview: respect quality in Imaginary
This commit is contained in:
commit
0662417157
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue