hehua2008 / ComposeSubsamplingImage

A Compose Multiplatform library supports zooming and subsampling huge images on Android, iOS and Desktop.
22 stars 0 forks source link

Orientation #1

Open timscriptov opened 4 weeks ago

timscriptov commented 4 weeks ago

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 commented 4 weeks ago

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

hehua2008 commented 3 weeks ago

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.