Skip to content

Commit

Permalink
image: bump down decodable quality to 85
Browse files Browse the repository at this point in the history
We no longer use this API for image editing, so this is
an acceptable compromise for now

Signed-off-by: Varun Patil <[email protected]>

#653
  • Loading branch information
pulsejet committed May 18, 2023
1 parent a8fe957 commit 64faee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private function getImageJPEG($blob, $mimetype): array
try {
$image->autoOrient();
$image->setImageFormat('jpeg');
$image->setImageCompressionQuality(95);
$image->setImageCompressionQuality(85);
$blob = $image->getImageBlob();
$mimetype = $image->getImageMimeType();
} catch (\ImagickException $e) {
Expand Down

0 comments on commit 64faee0

Please sign in to comment.