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