Skip to content
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

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

Open
G1a6iator opened this issue Apr 25, 2020 · 3 comments
Open

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

G1a6iator opened this issue Apr 25, 2020 · 3 comments

Comments

@G1a6iator
Copy link

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.

@mayuce
Copy link
Owner

mayuce commented Apr 27, 2020

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.

@SmartAppsDevelopment
Copy link

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

@mayuce
Copy link
Owner

mayuce commented Dec 19, 2021

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

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

3 participants