[
https://issues.apache.org/jira/browse/CB-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418620#comment-15418620
]
ASF GitHub Bot commented on CB-6708:
------------------------------------
GitHub user lxbyes opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/230
CB-6708: [iOS]keep the metadata of image, add GPS when take picture from
Camera.
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
### What does this PR do?
### What testing has been done on this change?
### Checklist
- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and
submitted to [email protected].
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lxbyes/cordova-plugin-camera master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/230.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #230
----
commit 221ad6fcc36d6290aa8875f1b69b6474f898e27b
Author: Leckie <[email protected]>
Date: 2016-08-12T09:56:03Z
keep the metadata of image, add GPS when take picture from Camera.
----
> iOS does not preserve GPS metadata from images picked from the Photo Gallery
> ----------------------------------------------------------------------------
>
> Key: CB-6708
> URL: https://issues.apache.org/jira/browse/CB-6708
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Reporter: Ryan Murphy
> Priority: Minor
> Labels: Triaged, camera, gps, ios
>
> Images picked from the gallery do not preserve metadata when saved to tmp.
> Particularly they lose GPS metadata.
> This extra metadata is available in asset.defaultRepresentation.metadata.
> I have a solution that works for my purpose. But currently only saving with
> asset.defaultRepresentation.fullResolutionImage.
> Approach to get the asset: https://github.com/foundry/UIImageMetadata
> Approach to save the asset: http://stackoverflow.com/a/15398387/618412
> (answer from Andrew Theis).
> Thanks for consideration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]