Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6dylan6/jdpro
/ decodeToPixels
Method
decodeToPixels
function/jdValidate.js:25–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
this.pixels = [];
24
}
25
decodeToPixels() {
26
return
new
Promise((resolve) => {
27
this.decode((pixels) => {
28
this.pixels = pixels;
29
resolve();
30
});
31
});
32
}
33
getImageData(x, y, w, h) {
34
const
{
35
pixels
Callers
1
run
Method · 0.45
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected