你好,在我的 Android PhoneGap 应用中,当我在竖屏模式下捕获图像时,在检索图像时会旋转图像。
这是我捕获图像的代码:
navigator.device.capture.captureImage(captureSuccess, captureError, {limit: 1});
如果我将correctOrientation设置为true,则没有任何区别。
如果我使用下面的代码,则图像会以正确的方向存储,但保存在缓存中。是否有任何解决方案可以保存在DCIM \ Camera路径中?
navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
destinationType: navigator.camera.DestinationType.FILE_URI,
correctOrientation: true });
Please help me.Thanks in Advance