-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
MultimediaActivity: Canvas: trying to draw too large(192000000bytes) bitmap #17378
Comments
@criticalAY FYI |
is merged this should be fixed hopefully |
I posted a PR that actually fixes this, using WebView does not really fix it (noted same in that PR, with repro) |
Hmmm, definitely something about image size is still going bad, from the reddit link @Danika-Dakika posted (but in the PR, not in this issue)
Indeed, it's still this same crash somehow, I found it on ACRA thanks to Danika getting the debug info with the ACRA UUID I believe the difference is my PR handled the paperclip icon and preview, but the "select image from gallery -> share to ankidroid add image" pathway apparently is no good. Cut-n-paste may be busted too, unsure https://ankidroid.org/acra/app/1/bug/261649/report/b7d1fc5b-8efc-471f-9163-71e7b3653522
|
Caught this on reddit and thought I'd clarify here. The problem is the uncompressed size as a bitmap [width * height * bit depth], not necessarily the size of the image itself, which may be below the AnkiWeb limit. Example: A 100,000 * 100,000 red square could potentially be compressed to a few bytes, but still blow this up Similar issue: Anki-Android/AnkiDroid/src/main/java/com/ichi2/anki/deckpicker/BackgroundImage.kt Lines 75 to 97 in 5904c8a
|
https://ankidroid.org/acra/app/1/bug/254079/report/8394c29e-bae5-4c6a-9684-09600daff226
The text was updated successfully, but these errors were encountered: