Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6dylan6/jdm
/ decodeToPixels
Method
decodeToPixels
function/JDJRValidator_Pure_smiek.js:37–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
decodeToPixels() {
38
return
new
Promise((resolve) => {
39
this.decode((pixels) => {
40
this.pixels = pixels;
41
resolve();
42
});
43
});
44
}
45
46
getImageData(x, y, w, h) {
47
const
{pixels} = this;
Callers
1
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected