Phone camera returns photo with black stripes
I am using Phonegap 3.4. When I photograph an iPhone in landscape, I return it with black stripes on the top and bottom.
Here are the camera configuration options:
var cameraOptions = {
correctOrientation: true,
quality: 90,
destinationType: navigator.camera.DestinationType.FILE_URI,
sourceType: navigator.camera.PictureSourceType.CAMERA,
allowEdit: false,
encodingType: navigator.camera.EncodingType.JPEG,
targetWidth: 2312,
targetHeight: 1736,
saveToPhotoAlbum: false,
popoverOptions: false,
cameraDirection: navigator.camera.Direction.BACK
};
What to do to get rid of black bars?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: