You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Thejaswi Puthraya (Created) (JIRA)" <ji...@apache.org> on 2012/03/04 07:44:02 UTC

[jira] [Created] (CB-295) Pass EXIF metadata for images

Pass EXIF metadata for images
-----------------------------

                 Key: CB-295
                 URL: https://issues.apache.org/jira/browse/CB-295
             Project: Apache Callback
          Issue Type: Bug
          Components: Android
    Affects Versions: Master
            Reporter: Thejaswi Puthraya
            Assignee: Joe Bowser


When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221809#comment-13221809 ] 

Thejaswi Puthraya commented on CB-295:
--------------------------------------

To reproduce the bug, download the image at http://media.agiliq.com/people/IMG_1206.JPG onto the phone
and then use the index.html at [1] in a phonegap project. Reference the above downloaded image and observe that after uploading the image gets rotated ie the EXIF tags are not getting set.

[1] https://issues.apache.org/jira/browse/CB-295?focusedCommentId=13221807&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13221807
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221811#comment-13221811 ] 

Thejaswi Puthraya commented on CB-295:
--------------------------------------

The patch fixes the issue when an image is selected from a photo library.

I couldn't get a patch when the camera is the source because the intent is null and I can't query the context's resolver with the imageUri.
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-295) Pass EXIF metadata for images

Posted by "Joe Bowser (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223742#comment-13223742 ] 

Joe Bowser commented on CB-295:
-------------------------------

Can you please sign the ICLA and send it to secretary@apache.org?

http://www.apache.org/licenses/icla.pdf
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223974#comment-13223974 ] 

Thejaswi Puthraya commented on CB-295:
--------------------------------------

I have sent the signed CLA to the above email address.
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-295) Pass EXIF metadata for images

Posted by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-295.
---------------------------

    Resolution: Fixed

Patch appears to fix the issue.
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221810#comment-13221810 ] 

Thejaswi Puthraya edited comment on CB-295 at 3/4/12 6:51 AM:
--------------------------------------------------------------

The git patch that fixes the issue.
                
      was (Author: theju):
    The patch that fixes the issue.
                  
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-295) Pass EXIF metadata for images

Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-295:
--------------------------

    Fix Version/s: 1.6.0
    
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejaswi Puthraya updated CB-295:
---------------------------------

    Attachment: index.html

A minimal test case to display the issue.
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>         Attachments: index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-295) Pass EXIF metadata for images

Posted by "Thejaswi Puthraya (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejaswi Puthraya updated CB-295:
---------------------------------

    Attachment: cb_295.diff

The patch that fixes the issue.
                
> Pass EXIF metadata for images
> -----------------------------
>
>                 Key: CB-295
>                 URL: https://issues.apache.org/jira/browse/CB-295
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Thejaswi Puthraya
>            Assignee: Joe Bowser
>         Attachments: cb_295.diff, index.html
>
>
> When uploading an image from the Camera (through getPicture) on android, either through the DATA_URL or FILE_URI the EXIF metadata is not passed (lost while scaling the image) and hence orientation of the picture cannot be correctly interpreted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira