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

Lorin Beer commented on CB-2896:
--------------------------------

Hey Sebastien! Thanks a lot for the tip! When you say 'fall into this bug', do 
you mean you are trying to retrieve exif data not currently written by the 
JpegHeaderWriter?

We use the CGImageSourceRef and similar functions for reading meta-data, code 
can be found here 
https://github.com/lorinbeer/cordova-imagemetadata-plugin/blob/master/iOS/ImageMetaDataReader.m

But for writing we opted for our own header writer. The 
CGImageDestinationAddImageFromSource function was too limited in what it 
accepted as metadata. It would accept all metadata provided by the 
UIImagePickerController, but would not support additional tags, most notably 
custom tags and geolocation tags.
                
> Multipart exif tags are not written correctly
> ---------------------------------------------
>
>                 Key: CB-2896
>                 URL: https://issues.apache.org/jira/browse/CB-2896
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.6.0
>            Reporter: Lorin Beer
>            Assignee: Lorin Beer
>            Priority: Critical
>             Fix For: 2.6.0
>
>
> multi-part (complex) tags are not written correctly. this leads to an exif 
> string which is of the correct size (and therefore is not reported as an 
> error) but cannot be read back out.

--
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