AndroidDocumentScanner icon indicating copy to clipboard operation
AndroidDocumentScanner copied to clipboard

Cropping activity stops, when rotate the large photo (12mp)

Open G1a6iator opened this issue 4 years ago • 3 comments

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.

G1a6iator avatar Apr 25 '20 14:04 G1a6iator

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.

mayuce avatar Apr 27 '20 18:04 mayuce

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

SmartAppsDevelopment avatar Mar 02 '21 05:03 SmartAppsDevelopment

And the new version is out, can you try it out?

mayuce avatar Dec 19 '21 16:12 mayuce