cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <>
Subject [jira] [Commented] (CB-7845) Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
Date Tue, 17 Nov 2015 23:15:10 GMT


Richard B Knoll commented on CB-7845:

I am pretty that this is not present in master. The current behavior on Android (as of the
PR I just merged for CB-5479) is that when {{allowEdit}} is given, the image that the crop
Activity returns is scaled for quality/size parameters and then returned to the application.
If {{saveToPhotoAlbum}} is given, then the unscaled image output by the crop Activity is saved
to the photo album as well.

As stated above, you are still completely at the mercy of whatever application your user chooses
to use for cropping. These can return images of whatever size/quality they want, and there
isn't anything we can do about that. Therefore, I'm going to close this issue. If there is
anything else, please feel free to reopen it.

> Camera Photos on Android 4.4.4 (Moto X) being scaled down when allowEdit=true
> -----------------------------------------------------------------------------
>                 Key: CB-7845
>                 URL:
>             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:
> 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
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message