You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raghav (JIRA)" <ji...@apache.org> on 2015/11/16 22:45:10 UTC
[jira] [Updated] (CB-8050) Photo quality is very low when target
width and height is above 640px
[ https://issues.apache.org/jira/browse/CB-8050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghav updated CB-8050:
-----------------------
Labels: iOS (was: )
> Photo quality is very low when target width and height is above 640px
> ----------------------------------------------------------------------
>
> Key: CB-8050
> URL: https://issues.apache.org/jira/browse/CB-8050
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 3.5.0
> Environment: iOS Cordova 3.5 iPhone 5
> Reporter: Michael M
> Labels: iOS
>
> I use Cordova 3.5.0 and the latests version of the Camera plugin. I figured out that the image quality drops when I set the targetWidth and targetHeight above 640. Here is the configuration I use:
> {code:javascript}
> navigator.camera.getPicture(onSuccess, onFail,
> { quality : 100,
> destinationType : Camera.DestinationType.FILE_URI,
> sourceType : Camera.PictureSourceType.CAMERA,
> allowEdit : true,
> encodingType: Camera.EncodingType.JPEG,
> targetWidth: 640,
> targetHeight: 640,
> saveToPhotoAlbum: true
> });
> {code}
> I did several tests capturing photos with the phonegap camera and compared the images that were automatically saved to album.
> How can I make PhoneGap Camera images with target width and height bigger than 640px of high quality?
> I posted my sample results on stackoverflow:
> http://stackoverflow.com/questions/27043534/how-can-i-make-phonegap-camera-images-with-target-width-and-height-bigger-than-6
--
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