Settings / Profile: Better uploaded avatar quality

This commit is contained in:
Alexander Zinchuk 2021-08-27 21:08:35 +03:00
parent 3216dd0123
commit 3f540296e7

View File

@ -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,
};