You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2015/10/14 02:06:05 UTC

[jira] [Updated] (CB-7845) Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true

     [ https://issues.apache.org/jira/browse/CB-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard B Knoll updated CB-7845:
--------------------------------
    Labels: Android Triaged  (was: )

> Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
> -----------------------------------------------------------------------------
>
>                 Key: CB-7845
>                 URL: https://issues.apache.org/jira/browse/CB-7845
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Android 4.4.4 (Moto X)
>            Reporter: Rajat Paharia
>              Labels: Android, Triaged
>
> Using the following settings:
> Quality: 85, allowEdit=true, targetWidth=1000, targetHeight=1000, correctOrientation: true, destinationType: FILE_URI, encodingType: JPEG, sourceType: CAMERA, saveToPhotoAlbum: false
> The picture is taken, accepted, then the crop screen is shown with a fixed square crop. I select Done and then upload the image to my server. The image is always 281x281 pixels, instead of the desired 1000x1000. 
> Changing sourceType to PHOTOLIBRARY, and doing the same set of steps (except picking an existing image from the gallery instead of taking a new one), on the other hand, results in what was expected - a 1000x1000 square image. 
> Changing the quality to 100 has no effect on the dimensions. 
> Changing correctOrientation, saveToPhotoAlbum have no effect on dimensions. 
> Changing targetWidth and targetHeight to 2000 has no effect on dimensions.
> Removing the targetWidth and targetHeight results in images that are 304x303 pixels. 
> After accepting the picture and before the Crop screen comes up, I can sometimes see the Google+ icon in the upper right and the title "Crop". I have the Google+ app installed on my phone. 
> Using: 
> cordova 4.0.0
> Installed platforms: android 3.6.4, ios 3.6.3
> org.apache.cordova.camera 0.3.3 "Camera"
> (had the same problems with 3.5.0 and older version of Camera plugin). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org