Skip to content

Image control crashes on Android when image width exceeds height #32869

Open

Description

@VidyalakshmiMani

Description

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.

SfImageEditorBug (2).zip

Steps to Reproduce

  1. Run the attached sample on Android
  2. The logic for loading the image can be found within the ViewModels/MainViewModel.cs file.

Link to public reproduction project repository

No response

Version with bug

9.0.111 SR11.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

  1. added
    t/bug
    on Nov 26, 2025
  2. Ahamed-Ali commented on Nov 26, 2025

    @Ahamed-Ali
    Contributor

    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
  3. added
    s/verified
    s/triaged
    i/regression
    area-image
    area-controls-image
    on Nov 26, 2025
  4. added
    partner/syncfusion
    on Nov 27, 2025
  5. added a commit that references this issue on Dec 2, 2025
    12bdf84
  6. added this to the .NET 10.0 SR3 milestone on Dec 16, 2025
  7. added a commit that references this issue on Dec 22, 2025
    d279d9e
  8. 5 remaining items

  9. added 5 commits that reference this issue on Jan 9, 2026
    e3ef7b4
    ffb2c25
    29237c9
    03e1bbf
    f1b7c9b
  10. added a commit that references this issue on Jan 13, 2026
  11. added a commit that references this issue on Jan 16, 2026
    7aaabbd
  12. locked and limited conversation to collaborators on Feb 13, 2026
  13. karthikraja-arumugam commented on Feb 13, 2026

    @karthikraja-arumugam
    Contributor

    The fix was reverted, so reopening the issue.
    #33413

  14. moved this from Done to In Progress in MAUI SDK Ongoingon Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-imagearea-imagei/regressionpartner/syncfusionplatform/androidregressed-in-10-rc2s/triageds/verifiedt/bug

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions