Skip to content

Console warning about getImageData are faster with the willReadFrequently attribute set to true #11

Description

@sw-NgocPham

I'm using the library to get phash of multiple images in the page, and I see those messages like below in Chrome's DevTools. Do you think this is something can be done inside the library, or an option that can be passed into the library?

Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions