Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.0
-
None
-
iOS Cordova 3.5 iPhone 5
Description
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:
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 });
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: