MCPcopy Create free account
hub / github.com/mapbox/pixelmatch / writeImage

Function writeImage

test/test.js:80–82  ·  view source on GitHub ↗
(name, image)

Source from the content-addressed store, hash-verified

78 return PNG.sync.read(fs.readFileSync(new URL(`fixtures/${name}.png`, import.meta.url)));
79}
80function writeImage(name, image) {
81 fs.writeFileSync(new URL(`fixtures/${name}.png`, import.meta.url), PNG.sync.write(image));
82}

Callers 1

diffTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…