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

Orientation #1

Open
timscriptov opened this issue Jun 24, 2024 · 2 comments
Open

Orientation #1

timscriptov opened this issue Jun 24, 2024 · 2 comments

Comments

@timscriptov
Copy link

I took a few photos using the camerax API in portrait mode. When you zoom in, the photo rotates 90°Screenshot_20240624-202315.png

Screenshot_20240624-202322.png

@timscriptov
Copy link
Author

The same thing happens with the regular camera on my device.

@hehua2008
Copy link
Owner

SubsamplingImage doesn't support exif orientation for now. So previewProvider and sourceProvider should each provide a image in the same orientation.
You can try rotate preview in previewProvider lambda.

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

2 participants