Start with highest quality compression and find a suitable size (#33)
This commit is contained in:
@@ -39,7 +39,7 @@ export function UserAvatar({
|
||||
height: 400,
|
||||
cropperCircleOverlay: true,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 0.7,
|
||||
compressImageQuality: 1,
|
||||
}).then(onSelectNewAvatar)
|
||||
},
|
||||
},
|
||||
@@ -56,7 +56,7 @@ export function UserAvatar({
|
||||
height: 400,
|
||||
cropperCircleOverlay: true,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 0.7,
|
||||
compressImageQuality: 1,
|
||||
}).then(onSelectNewAvatar)
|
||||
})
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@ export function UserBanner({
|
||||
compressImageMaxHeight: 500,
|
||||
height: 500,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 0.4,
|
||||
compressImageQuality: 1,
|
||||
includeExif: true,
|
||||
}).then(onSelectNewBanner)
|
||||
},
|
||||
@@ -54,7 +54,7 @@ export function UserBanner({
|
||||
compressImageMaxHeight: 500,
|
||||
height: 500,
|
||||
forceJpg: true, // ios only
|
||||
compressImageQuality: 0.4,
|
||||
compressImageQuality: 1,
|
||||
includeExif: true,
|
||||
}).then(onSelectNewBanner)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user