Skip to content

why Why did I use getImageData() for more than 1 minute? #302

Open
@aajiejie

Description

@aajiejie

When I use getImageData(), I have to wait for a long time to get data, which is unbearable. Why is this? ImgWH=360,pixelRatio=3 and the image pixel is 360 * 360
`const wh = imgWH * pixelRatio;

context.getImageData(0, 0, wh, wh).then(imageData => {

....

}`

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