Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aqeelmashkraft opened this issue Nov 3, 2020 · 6 comments

Comments

@aqeelmashkraft
Copy link

No description provided.

@aqeelmashkraft aqeelmashkraft changed the title wrong orientation of all photos i take from camera on android wrong orientation of all photos i take from camera on android version 10 Nov 3, 2020
@aqeelmashkraft
Copy link
Author

processed

@brassier
Copy link

brassier commented Nov 3, 2020

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
Copy link
Author

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

  • ⁨platforms⁩ ▸ ⁨android⁩ ▸ ⁨app⁩ ▸ ⁨src⁩ ▸ ⁨main⁩ ▸ ⁨java⁩ ▸ ⁨com⁩ ▸ ⁨synconset ▸⁩ ImageFetcher.java

@brassier
Copy link

brassier commented Nov 4, 2020

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 added a commit that referenced this issue Feb 17, 2021
@anujraghuvanshi
Copy link

Update: Fix has been merged into master.

MayankLogiciel added a commit to MayankLogiciel/cordova-plugin-image-picker that referenced this issue Feb 18, 2021
@uaza
Copy link

uaza commented Oct 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants