412
Views
4
Comments
[Camera Plugin] Front/Back Camera Direction Parameter
Question
Forge component by OutSystems R&D
42
Published on 10 Dec 2020

Please add parameter for default FRONT/BACK Camera Direction.

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

Thanks.


https://github.com/OutSystems/cordova-plugin-camera#module_camera.CameraOptions

Staff
Rank: #366

Hello Harlin.

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

Thanks


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


https://www.outsystems.com/forge/component/2078/image-utils-mobile/

Rank: #6190

Hi, 


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

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



Regards,

JJ Tugade

Rank: #56231

Hi, Please can you add more parameters to the plugin? ( front/back camera, image size, quality, etc ?)