From 3f540296e73b3019262b859fc26fa31d7571f47a Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 27 Aug 2021 21:08:35 +0300 Subject: [PATCH] Settings / Profile: Better uploaded avatar quality --- src/components/ui/CropModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/CropModal.tsx b/src/components/ui/CropModal.tsx index 239b736a..72e12f0b 100644 --- a/src/components/ui/CropModal.tsx +++ b/src/components/ui/CropModal.tsx @@ -15,7 +15,7 @@ import './CropModal.scss'; // Change to 'base64' to get base64-encoded string const cropperResultOptions: Croppie.ResultOptions & { type: 'blob' } = { type: 'blob', - quality: 0.8, + quality: 1, format: 'jpeg', circle: false, };