Telerik-Verified-Plugins / ImagePicker

Cordova Plugin For Multiple Image Selection
MIT License
181 stars 328 forks source link

wrong orientation of all photos i take from camera on android version 10 #227

Open aqeelmashkraft opened 3 years ago

aqeelmashkraft commented 3 years ago

processed

brassier commented 3 years ago

I'm noticing the same. Screenshots seem to have the right orientation, but photos taken with a camera are in the wrong orientation in the viewer.

aqeelmashkraft commented 3 years ago

I figure out the solution. it's working fine for me after removing this line matrix.setRotate(rotate);
file-path

brassier commented 3 years ago

Thanks! Is the owner/maintainer here very active? This points out a specific fix, as does this issue. I'm curious if the maintainers will be pulling in these suggested improvements into a new version, or if they would require a PR with them, or if we need to fork our own version to get these fixes?

anujraghuvanshi commented 3 years ago

Update: Fix has been merged into master.

uaza commented 1 year ago

Removing "matrix.setRotate(rotate);" in ImageFetcher.java helps with the images preview. After selecting an image, the image is still transferred in the wrong orientation. To fix this bug the "matrix.setRotate(rotate);" must also be removed in MultiImageChooserActivity.java.

@anujraghuvanshi It would be great if you could do this bug fix as well.

PS: My observation is that this bug only occurs on Samsung devices.