You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bartek Cichocki (JIRA)" <ji...@apache.org> on 2017/06/04 00:57:04 UTC

[jira] [Created] (CB-12879) Windows 10 UWP - when photo is resized it looses exif information about rotation

Bartek Cichocki created CB-12879:
------------------------------------

             Summary: Windows 10 UWP - when photo is resized it looses exif information about rotation
                 Key: CB-12879
                 URL: https://issues.apache.org/jira/browse/CB-12879
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
            Reporter: Bartek Cichocki


Image resizing is currently done by canvas manipulation so exif information is not preserved at new file. It leads to images having bad orientation after being saved.

Here I created simple workaround, which rotates image at canvas based on exif information:

https://github.com/bartcich/cordova-plugin-camera/commit/5b79a827dd78bb16b2150316a357523ea97ef44a

Probably it would be better to preserve exif information to new file (so it will be consistent behaviour with file not being resized)

Additionally Windows webview does display well images with exif information about rotation, so it would be great to add correctOrientation functionality as it works on Android.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org