You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image control crashes on Android when image width exceeds height #32869
When using an image that is a lot wider than the height (the example has a dimension of 1600x130, but it also fails on smaller images), the ImageControl throws an exception (Java.Lang.RuntimeException: Canvas: trying to draw too large(322641920bytes) bitmap.) on Android, causing the app to crash.
This issue has been validated in Visual Studio Code 1.106.2 with MAUI versions (9.0.111, 9.0.120, 10.0.0-preview.1, 10.0.rc1, 10.0.rc2, 10.0.10 and 10.0.11). It can be reproducible on Android platform from 10.0.0 rc2 version
Activity
Ahamed-Ali commentedon Nov 26, 2025
This issue has been validated in Visual Studio Code 1.106.2 with MAUI versions (9.0.111, 9.0.120, 10.0.0-preview.1, 10.0.rc1, 10.0.rc2, 10.0.10 and 10.0.11). It can be reproducible on Android platform from 10.0.0 rc2 version
9.0.111
Screen.Recording.2025-11-26.at.7.31.27.PM.mov
10.0.0 rc2
Screen.Recording.2025-11-26.at.7.31.16.PM.mov
Fix dotnet#32869: Prevent Canvas bitmap crash for wide images on Android
[Android] Image control crashes on Android when image width exceeds h…
5 remaining items
[Android] Image control crashes on Android when image width exceeds h…
[Android] Image control crashes on Android when image width exceeds h…
[Android] Image control crashes on Android when image width exceeds h…
[Android] Image control crashes on Android when image width exceeds h…
[Android] Image control crashes on Android when image width exceeds h…
January 5th, Candidate (#33363)
[Android] Image control crashes on Android when image width exceeds h…
karthikraja-arumugam commentedon Feb 13, 2026
The fix was reverted, so reopening the issue.
#33413