[css-houdini-drafts] [css-paint-worklet] How to manipulate pixel data of CSS PaintWorklet context (#1015)

ku8ar has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-paint-worklet] How to manipulate pixel data of CSS PaintWorklet context  ==
[Original question](https://stackoverflow.com/questions/53797901/how-to-manipulate-pixel-data-of-css-paintworklet-context)

PaintRenderingContext2D does not have `putImageData` and an `ImageData` interface.
If `PaintWorklet` allowed pixel manipulation with `CanvasRenderingContext2D`, it would be possible to create beautiful placeholders (e.g. using BlurHash algorithm).
Why doesn't `PaintWorklet` allow direct manipulation of pixels?

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1015 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 December 2020 19:32:33 UTC