You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: zoomable-image/sub-sampling-image/src/androidMain/kotlin/me/saket/telephoto/subsamplingimage/internal/AndroidImageRegionDecoder.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ internal class AndroidImageRegionDecoder private constructor(
42
42
// tiles are generated by SubSamplingImage(), it assumes that the image is already in the correct orientation. To
43
43
// counter this, rotate the bounds in anticlockwise direction to get the bounds in the original non-rotated image.
44
44
@Suppress("NAME_SHADOWING")
45
-
val region = region.undoExifTransformations()
45
+
val region = region.withReverseExifTransformations()
46
46
47
47
val bitmap = withContext(dispatcher) {
48
48
trace("decodeRegion") {
@@ -62,7 +62,7 @@ internal class AndroidImageRegionDecoder private constructor(
0 commit comments