cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <purplecabb...@gmail.com>
Subject Re: [jira] [Commented] (CB-1285) Include EXIF metadata in image upload
Date Wed, 31 Oct 2012 08:50:35 GMT
Questions inline..

On Wed, Oct 31, 2012 at 12:33 AM, Lorin Beer <lorin.beer.dev@gmail.com> wrote:
> Hi George,
>
> you should have access to the original date and time, as well as all the
> other metadata, through the solution I posted in CB-1246.
>
> The solution we decided to pursue for CB-1285 was to properly embed the
> metadata in exif format within the jpeg header as per  the exif header
> standard. This would mean writing/using a serverside jpeg exif parser to

What do you mean serverside? Can I only take pictures online?

> read the data back out. As Shaz mentioned, writing an Exif Reader for unit
> tests may be a possibility, but only if such a project would provide
> significant utility to the Cordova community. For validation
> programatically, I'd rather hack together tests using an existing reader,
> which may have an incompatible license, making it impossible to include
> into Cordova Core.
>
> If you have any questions about how to use the solution posted in CB-1246,
> please ask!
>
> -Lorin
>
> On Wed, Oct 31, 2012 at 12:25 AM, Shazron Abdullah (JIRA)
> <jira@apache.org>wrote:
>
>>
>>     [
>> https://issues.apache.org/jira/browse/CB-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487601#comment-13487601]
>>
>> Shazron Abdullah commented on CB-1285:
>> --------------------------------------
>>
>> Lorin can clarify, but as I understand it, this fix is to incorporate the
>> original image's EXIF _into_ the Cordova created image.
>>
>> In the process of doing so, Lorin has created an EXIF writer (the original
>> EXIF data is passed to us from the camera viewcontroller in a NSDictionary).
>>
>> To get the EXIF data separately, there is no support in the current API. I
>> reckon to do so Lorin would have to include an EXIF Reader (and he may do
>> so for unit tests), and someone can create a separate plugin for that
>> feature that you want.
>>
>> > 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
>> >             Fix For: 2.3.0
>> >
>> >
>> > 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
>>



-- 
@purplecabbage
risingj.com

Mime
View raw message