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

Canvas trying to load large size of image #740

Open
sauniksingh opened this issue Feb 16, 2021 · 1 comment
Open

Canvas trying to load large size of image #740

sauniksingh opened this issue Feb 16, 2021 · 1 comment

Comments

@sauniksingh
Copy link

java.lang.RuntimeException: Canvas: trying to draw too large(290841740bytes) bitmap. at android.graphics.BaseCanvas.nDrawBitmap(Native method) at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:192) at android.graphics.Canvas.drawBitmap(Canvas.java:1660) at com.yalantis.ucrop.util.FastBitmapDrawable.draw(FastBitmapDrawable.java:41) at android.widget.ImageView.onDraw(ImageView.java:1444)

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

@shanraisshan
Copy link

any update on this?

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

2 participants