Skip to content

java.lang.RuntimeException: Canvas: trying to draw too large(111513600bytes) bitmap. even original image size is 50.4kb #2909

@momabrouk123

Description

@momabrouk123

Describe the bug
App is crashing as coil3 loads a large image from URL, it makes a small image size (50.4kb) a large image 111mb
(https://vid.alarabiya.net/images/2025/03/06/53e0ba6a-69e7-44f1-a91c-8280b5b69dcb/53e0ba6a-69e7-44f1-a91c-8280b5b69dcb.jpg)

Version
this happened in samusng s25 ultra , coil_compose_version = '3.0.4'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions