Skip to content

Warning in browser console: Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true when calling toDataURL #105

Open
@nmalancea

Description

@nmalancea

Screenshot 2024-04-29 at 1 01 41 PM

I get this warning in the browser console when calling toDataURL:

Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true

Any ideas how to correctly configure the canvas to set { willReadFrequently: true }?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: featureNew feature or requestkind: optimizationPerformance, space, size, etc improvement

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions