Skip to content

Commit 64faee0

Browse files
committed
image: bump down decodable quality to 85
We no longer use this API for image editing, so this is an acceptable compromise for now Signed-off-by: Varun Patil <radialapps@gmail.com> #653
1 parent a8fe957 commit 64faee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/ImageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ private function getImageJPEG($blob, $mimetype): array
382382
try {
383383
$image->autoOrient();
384384
$image->setImageFormat('jpeg');
385-
$image->setImageCompressionQuality(95);
385+
$image->setImageCompressionQuality(85);
386386
$blob = $image->getImageBlob();
387387
$mimetype = $image->getImageMimeType();
388388
} catch (\ImagickException $e) {

0 commit comments

Comments
 (0)