diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-26 17:41:12 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-26 17:41:12 -0600 |
commit | cc63660982199a989859d3b5328ba43a4edec755 (patch) | |
tree | 25f6c54bfeca218e4e4e52bb0a252e1e501048bb /src/view/com/util/UserBanner.tsx | |
parent | 838fc601c1f89f028862212d169aebe4163c8672 (diff) | |
download | voidsky-cc63660982199a989859d3b5328ba43a4edec755.tar.zst |
Increase image resolutions
Diffstat (limited to 'src/view/com/util/UserBanner.tsx')
-rw-r--r-- | src/view/com/util/UserBanner.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/view/com/util/UserBanner.tsx b/src/view/com/util/UserBanner.tsx index 5137e19ca..982e053c3 100644 --- a/src/view/com/util/UserBanner.tsx +++ b/src/view/com/util/UserBanner.tsx @@ -30,10 +30,10 @@ export function UserBanner({ openCamera({ mediaType: 'photo', cropping: true, - compressImageMaxWidth: 1500, - width: 1500, - compressImageMaxHeight: 500, - height: 500, + compressImageMaxWidth: 3000, + width: 3000, + compressImageMaxHeight: 1000, + height: 1000, forceJpg: true, // ios only compressImageQuality: 1, includeExif: true, @@ -49,10 +49,10 @@ export function UserBanner({ await openCropper({ mediaType: 'photo', path: item.path, - compressImageMaxWidth: 1500, - width: 1500, - compressImageMaxHeight: 500, - height: 500, + compressImageMaxWidth: 3000, + width: 3000, + compressImageMaxHeight: 1000, + height: 1000, forceJpg: true, // ios only compressImageQuality: 1, includeExif: true, |