MCPcopy Create free account
hub / github.com/Semporia/Scripts / decodeToPixels

Method decodeToPixels

JDJRValidator_Pure.js:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 decodeToPixels() {
30 return new Promise((resolve) => {
31 this.decode((pixels) => {
32 this.pixels = pixels;
33 resolve();
34 });
35 });
36 }
37
38 getImageData(x, y, w, h) {
39 const {pixels} = this;

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected