Open
Description
In devtools console I get the following warning:
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
This happens when I use const result = this.$refs.cropper.getResult();
a few times after another and then do getImageData
on the context of result.canvas
Any idea how to set willReadFrequently
on the canvas of getResult
?
Metadata
Metadata
Assignees
Labels
No labels