I'm trying to use the canvas.getContext('2d').getImageData().data.set(...) method as described on this article:
https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-typed-arrays/
I notice that the data attribute is a PixelArray and not a Uint8ClampedArray, thus it does not have the set method. Does any one know any workaround?