MCPcopy
hub / github.com/HashLips/hashlips_art_engine / loadImg

Function loadImg

utils/preview_gif.js:13–18  ·  view source on GitHub ↗
(_img)

Source from the content-addressed store, hash-verified

11let hashlipsGiffer = null;
12
13const loadImg = async (_img) => {
14 return new Promise(async (resolve) => {
15 const loadedImage = await loadImage(`${_img}`);
16 resolve({ loadedImage: loadedImage });
17 });
18};
19
20// read image paths
21const imageList = [];

Callers 1

preview_gif.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected