-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Canvas: trying to draw too large bitmap. #648
Comments
I checked the source of this crash:
and then in this line
I think this happens because we try to draw a high-quality bitmap for a preview in edit/cropping mode. and then retrieve this bitmap from view to process. instead, I think we can separate the preview bitmap from preprocessing bitmap. It means the user interacts with a preview image and then he/she submits we start processing a high-quality bitmap. The difference is we don't need to show a high-quality bitmap. |
Is it possible to have a hot fix version for this? Since more and more people have get those high megapixel camera phones, this is now our number one crash reason. |
I suggest a more proper solution, it won't crash and will continue to crop.
|
Seems like this crash is getting more impactful as time goes by. Any news about a next release? |
hotifx would really be appreciated before everyone forks this library |
any news on this? It's a rather annoying issue.... |
I think a pull request with the fix has been merged and available in latest version (2.2.6) |
Where should this code be placed?? |
This issue has fixed in version 2.2.6 |
Still getting same issue if we're trying to crop image more than 4mb. in NOKIA 6.1, Android 10, & UCROP version 2.2.6 |
I am getting the same error, |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
When I pass a high-res image (10MB) to UCropFragment it crashed.
try this image
What is the expected behavior?
I expect it starts editing the image.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Just choose a high-res image and see the crash.
Please attach any image files, URL and
stack trace
that can be used to reproduce the bug.Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?
2.2.4
The text was updated successfully, but these errors were encountered: