You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2015/10/20 19:46:27 UTC

[jira] [Commented] (CB-6708) iOS does not preserve GPS metadata from images picked from the Photo Gallery

    [ https://issues.apache.org/jira/browse/CB-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965453#comment-14965453 ] 

Richard B Knoll commented on CB-6708:
-------------------------------------

I was able to reproduce this using plugin 1.2.0 and iOS 8.4. I used saveToPhotoAlbum and the saved photo appeared to have lost all of its EXIF data (though I couldn't specifically test GPS). However, should the EXIF data be preserved? Changing the photo quality means we are producing a new image file; how is EXIF data usually handled in that situation? A lot of the information about the camera is no longer relevant to the new image. I can definitely see the benefit of preserving some information like GPS data, though, so I think this issue is valid.

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org