CGS38 opened a new issue #711:
URL: https://github.com/apache/cordova-plugin-camera/issues/711
<!--
Please have a look at the issue templates you get when you click "New issue"
in the GitHub UI.
We very much prefer issues created by using one of these templates.
-->
### Issue Type
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] Bug Report
- [x] Feature Request
- [ ] Support Question
## Description
heic format is used by default by many Samsung camera.
But this format is not compatible with webview component.
The 'encodingType: Camera.EncodingType.JPEG' param in the
navigator.camera.getPicture method does not convert heic image to jpeg.
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
### Command or Code
navigator.camera.getPicture(image_lib.onPhotoURISuccess,image_lib.onFailPhoto,
{ quality: 100,
targetWidth:
width,
targetHeight:
height,
**encodingType: Camera.EncodingType.JPEG,**
destinationType: Camera.DestinationType.FILE_URI,
correctOrientation : true,
sourceType:
Camera.PictureSourceType.PHOTOLIBRARY });
### Environment, Platform, Device
Android 10 , SM-A307FN
### Version information
Cordova v10 Android v9
Camera plugin version 5.0.1
## Checklist
<!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
- [x] I searched for already existing GitHub issues about this
- [x] I updated all Cordova tooling to their most recent version
- [x] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]