Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Semporia/Scripts
/ decodeToPixels
Method
decodeToPixels
jd_joy_new.js:44–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
}
43
44
decodeToPixels() {
45
return
new
Promise((resolve) => {
46
this.decode((pixels) => {
47
this.pixels = pixels;
48
resolve();
49
});
50
});
51
}
52
53
getImageData(x, y, w, h) {
54
const
{pixels} = this;
Callers
1
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected