diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-30 15:49:18 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-30 15:49:18 -0400 |
commit | 919a7c14633f0a381613cebf73e8f29d84d3ebe2 (patch) | |
tree | 453b8eac5fbdc2fcc718ec9a3a477e3f5ffe2b3d /src | |
parent | 56ec3a62ebbade90f3d0fb3ff2ccbcbfc091672b (diff) |
Add option to mirror image
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/camera.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/camera.ts b/src/utils/camera.ts index 7e4fc14e..e5eba5f8 100644 --- a/src/utils/camera.ts +++ b/src/utils/camera.ts @@ -21,6 +21,7 @@ export const takePicture = ( const options: TakePictureOptions = { forceUpOrientation: true, orientation: 'portrait', + mirrorImage: true, writeExif: false, }; cameraRef.current?.takePictureAsync(options).then((pic) => { |