Skip to content

Commit

Permalink
Generate thumbnails with highest quality setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismeonmounteverest committed Oct 21, 2023
1 parent e872828 commit d116a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/AvatarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private function createAvatarImage(Member $member, int $sizeOfAvatar)
$constraint->aspectRatio();
});

$img->save($filename);
$img->save($filename, 100, 'jpg');
}

private function createEmptyAvatarImage($sizeOfAvatar): string
Expand Down

0 comments on commit d116a9e

Please sign in to comment.