[
https://issues.apache.org/jira/browse/CB-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444362#comment-13444362
]
Stephen McKamey edited comment on CB-1285 at 8/30/12 6:56 AM:
--------------------------------------------------------------
I haven't been specifying them because I do want the original image. Here is
some example code which reproduces it for me.
{code}
var useCamera = !!confirm('Use camera?');
navigator.camera.getPicture(
onSuccess,
onFail,
{
correctOrientation: false,
destinationType: Camera.DestinationType.FILE_URI,
encodingType: Camera.EncodingType.JPEG,
quality: 100,
saveToPhotoAlbum: useCamera,
sourceType: useCamera ? Camera.PictureSourceType.CAMERA :
Camera.PictureSourceType.PHOTOLIBRARY
});
{code}
No matter if I click OK or Cancel, the EXIF is stripped except for the
Orientation tag.
was (Author: mckamey):
I haven't been because I do want the original image. Here some example code
which reproduces it for me.
{code}
var useCamera = !!confirm('Use camera?');
navigator.camera.getPicture(
onSuccess,
onFail,
{
correctOrientation: false,
destinationType: Camera.DestinationType.FILE_URI,
encodingType: Camera.EncodingType.JPEG,
quality: 100,
saveToPhotoAlbum: useCamera,
sourceType: useCamera ? Camera.PictureSourceType.CAMERA :
Camera.PictureSourceType.PHOTOLIBRARY
});
{code}
No matter if I click OK or Cancel, the EXIF is stripped except for the
Orientation tag.
> Include EXIF metadata in image upload
> -------------------------------------
>
> Key: CB-1285
> URL: https://issues.apache.org/jira/browse/CB-1285
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Affects Versions: 2.0.0
> Environment: iOS 5.1.1 (iPad 2 & iPhone 4)
> Reporter: Stephen McKamey
> Assignee: Shazron Abdullah
>
> Now that Cordova only supports iOS 4.2+, it would be great if it would
> include the additional EXIF metadata which exists in original image files.
> Currently this is all stripped. I've noticed a recent increased trend of iOS
> apps declaring that they can gain access to EXIF data if the user permits
> location information. If EXIF & geo data were passed through this would be a
> huge gain for Cordova.
> Related: a similar issue (CB-295) was opened for Android and it sounds like
> it was implemented. From the other issue, it sounded like it was a side
> effect of resizing the image. If no resizing needs to occur (i.e., the
> untouched original bits are desired), then perhaps this would help?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira