Returning original image using NATIVE_URI, instead of stripped copy
See original GitHub issueThe plugin works great. However, it creates a copy of the image file for further processing. This strips out the original metadata of the image, like the EXIF details. Is it possible to not create a copy, and simply return theCamera.DestinationType.NATIVE_URI
instead?
By using the NATIVE_URI, the original file (path) is returned - e.g., assets-library:// on iOS or content:// on Android - and allows processing of the native file, including EXIF data. This has also been fixed in recent Cordova updates, so it’s obvious this hasn’t been used before.
Ideally, an option like for example useOriginal: true
, or the quality: 100
to preserve backwards compatability would be a nice solution in my opinion,.
@wymsee: I’m also interested in digging through the code here a bit, but would love some input if this is advisable (and perhaps a bit of a tip where to fix this). Any tips?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:5
- Comments:31
Top GitHub Comments
This is completely untested code, but maybe it helps you:
@DanceSC you have to update the updateAcceptButton method of MultiImageChooserActivity.java to enable if there are images selected. This is the code that works:
private void updateAcceptButton() {
}