[whatwg/dom] Proposal: getImageData api for all element,not limited to canvas (Issue #1317)

### What problem are you trying to solve?

I want to get DOM element rendered pixels for some advantage feature, just like a snapshot of a SPA "page (not the html document)". 
But there is no api to do this.

### What solutions exist today?

No solutions

### How would you solve it?

Canvas has a getImageData api to get rendered pixels, so is it possible to provide this interface to other elements to get DOM rendered pixels?

### Anything else?

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1317
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1317@github.com>

Received on Tuesday, 15 October 2024 02:26:36 UTC