[Camera Plugin] Front/Back Camera Direction Parameter

Forge Component
Published on 16 Apr by OutSystems R&D
36 votes
Published on 16 Apr by OutSystems R&D

Please add parameter for default FRONT/BACK Camera Direction.

It is already implemented on the cordova camera plugin (CameraOptions).



Hello Harlin.

Great feedback! We'll take a look at available options.


If possible, please fix the resized image output.

Image output from this component was already resized (good, minimize bandwidth), but resized image looks jagged/not smooth, especially if using 16 megapixel camera commonly found in modern mobile phone.

If you interested, I have develop an image resize component using JS Canvas (currently only tested under Chrome/Android, I don't have Mac/Safari/iPhone).

I use these approach when resizing from massive image resolution:

1. Use gradual resize (resize to half, then half again, loop until image is small enough)

2. Use sharpening algorithm because resized image can look soft



Is the Camera [Front/Back] Direction works with you? because I tried it in mobile android and it's not working.

I'm using this plugin

        "url": "https://github.com/OutSystems/cordova-plugin-camera#4.0.3-OS4", 


JJ Tugade