From 9885f31e5c44756d0a459cecefb7bfc03c713135 Mon Sep 17 00:00:00 2001 From: Felipe Constantino Date: Tue, 27 Feb 2018 16:56:38 -0300 Subject: [PATCH] add missing mirrorImage takePicture opt to docs + types --- docs/RNCamera.md | 2 ++ types/index.d.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/RNCamera.md b/docs/RNCamera.md index 7299d62..8cce399 100644 --- a/docs/RNCamera.md +++ b/docs/RNCamera.md @@ -245,6 +245,8 @@ Supported options: - `quality` (float between 0 to 1.0). This property is used to compress the output jpeg file with 1 meaning no jpeg compression will be applied. If no value is specified `quality:1` is used. - `base64` (boolean true or false) Use this with `true` if you want a base64 representation of the picture taken on the return data of your promise. If no value is specified `base64:false` is used. + + - `mirrorImage` (boolean true or false). Use this with `true` if you want the resulting rendered picture to be mirrored (inverted in the vertical axis). If no value is specified `mirrorImage:false` is used. - `exif` (boolean true or false) Use this with `true` if you want a exif data map of the picture taken on the return data of your promise. If no value is specified `exif:false` is used. diff --git a/types/index.d.ts b/types/index.d.ts index b39da64..9a7884c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -117,6 +117,7 @@ interface TakePictureOptions { base64?: boolean; exif?: boolean; width?: number; + mirrorImage?: boolean; /** Android only */ fixOrientation?: boolean;