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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to