Skip to content

It rotate Image after taking from gallery, Also It increase my App Size by 330 MB #47

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

Open
KamranKhanDemo opened this issue Sep 25, 2023 · 0 comments

Comments

@KamranKhanDemo
Copy link

KamranKhanDemo commented Sep 25, 2023

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
@KamranKhanDemo 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
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

1 participant