AndroidDocumentScanner icon indicating copy to clipboard operation
AndroidDocumentScanner copied to clipboard

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

Open KamranKhanDemo opened this issue 2 years ago • 0 comments

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 avatar Sep 25 '23 13:09 KamranKhanDemo