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
How can I prevent Image from rotation. I know there is function private suspend fun setImageRotation() { var tempBitmap = selectedImage.copy(selectedImage.config, true) for (i in 1..4) { val point2f = nativeClass.getPoint(tempBitmap) if (point2f == null) { tempBitmap = rotateBitmap(tempBitmap, (90 * i).toFloat()).first() } else { selectedImage = tempBitmap.copy(selectedImage.config, true) break } } }
But I don't know what specific reason for using that.
Also it increased my app size by 330 MB
The text was updated successfully, but these errors were encountered:
KamranKhanDemo
changed the title
It rotate Image after taking from gallery
It rotate Image after taking from gallery, Also It increase my App Size by 330 MB
Sep 26, 2023
Uh oh!
There was an error while loading. Please reload this page.
How can I prevent Image from rotation. I know there is function
private suspend fun setImageRotation() { var tempBitmap = selectedImage.copy(selectedImage.config, true) for (i in 1..4) { val point2f = nativeClass.getPoint(tempBitmap) if (point2f == null) { tempBitmap = rotateBitmap(tempBitmap, (90 * i).toFloat()).first() } else { selectedImage = tempBitmap.copy(selectedImage.config, true) break } } }
The text was updated successfully, but these errors were encountered: