mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-07 13:31:39 +01:00
Settings / Profile: Better uploaded avatar quality
This commit is contained in:
parent
3216dd0123
commit
3f540296e7
@ -15,7 +15,7 @@ import './CropModal.scss';
|
|||||||
// Change to 'base64' to get base64-encoded string
|
// Change to 'base64' to get base64-encoded string
|
||||||
const cropperResultOptions: Croppie.ResultOptions & { type: 'blob' } = {
|
const cropperResultOptions: Croppie.ResultOptions & { type: 'blob' } = {
|
||||||
type: 'blob',
|
type: 'blob',
|
||||||
quality: 0.8,
|
quality: 1,
|
||||||
format: 'jpeg',
|
format: 'jpeg',
|
||||||
circle: false,
|
circle: false,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user