Open timscriptov opened 4 weeks ago
The same thing happens with the regular camera on my device.
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.
I took a few photos using the camerax API in portrait mode. When you zoom in, the photo rotates 90°![Screenshot_20240624-202315.png](https://github.com/hehua2008/ComposeSubsamplingImage/assets/31324315/b2bf97a6-b2a8-4ed7-99d6-4b337fca5aeb)