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

Lorin Beer commented on CB-1285:
--------------------------------

James,

line 302 in CDVCamera.m
https://github.com/lorinbeer/cordova-ios/commit/ac0cb7c610098a7f56f6c33fc88ddf2eb65d8d1d

went over this stuff with Shaz yesterday, and it looks like we can make it in 
for 2.6.0

I've disabled the exif subifd writing, but it correctly writes the APP1 data 
segment, with the TIFF header. We can reenable the rest (with matching unit 
tests) before the next release candidate.

The code in CDVCamera is unoptimized, and was used for analyzing the raw jpeg 
data for debugging. When I'm back from lunch, I'll rewrite the copy loop to 
copy in blocks (rather then 2bytes at a time) and issue the pull request.
 
                
> 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: Lorin Beer
>
> 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

Reply via email to