Skip to content

[web] Error: Failed to encode the image into bytes. #8

Description

@IvanDeluxe

Hi :)

After upgrading to flutter 3.0.0 we're unable to use image_pixels @ web:

Error: Failed to encode the image into bytes.
    at Object.createErrorWithStack (http://localhost:52985/dart_sdk.js:5093:12)
    at Function._throw (http://localhost:52985/dart_sdk.js:20399:18)
    at Function.throwWithStackTrace (http://localhost:52985/dart_sdk.js:20396:18)
    at async._AsyncCallbackEntry.new.callback (http://localhost:52985/dart_sdk.js:40921:18)
    at Object._microtaskLoop (http://localhost:52985/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:52985/dart_sdk.js:40784:13)
    at http://localhost:52985/dart_sdk.js:36261:9

We've found this issue which seems to be the cause of it?

Any help is appreciated.

Thanks,

Ivan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions