AndroidDocumentScanner
AndroidDocumentScanner copied to clipboard
Cropping activity stops, when rotate the large photo (12mp)
I have a problem with a rotation the large photo (12mp), when I try to rotate it, cropping activity was stopping and application return to the previous activity. When I use a not large photo, for example screenshot, all cropping without problems. This problem is also in your sample application.
I'll search the best way to solve it and push it as soon as possible, for now before before providing bitmap to library you can compress your image.
Caused by: java.lang.OutOfMemoryError: at com.labters.documentscanner.base.DocumentScanActivity.setImageRotation (DocumentScanActivity.java:1) at com.labters.documentscanner.base.DocumentScanActivity.lambda$startCropping$0 (DocumentScanActivity.java:1) at com.labters.documentscanner.base.-$$Lambda$DocumentScanActivity$Ld73f9_sQt4aEYvFiwqqcxAFwZo.call (-.java) Facing error with some large bitmaps
And the new version is out, can you try it out?