Skip to content

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

Description

@KamranKhanDemo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions