MCPcopy Create free account
hub / github.com/neplextech/vectorizer / parseColorMode

Function parseColorMode

cli/index.mjs:292–296  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

290}
291
292function parseColorMode(value) {
293 if (value === 'binary') return ColorMode.Binary;
294 if (value === 'color') return ColorMode.Color;
295 throw new Error(`Unknown color mode '${value}'. Expected color or binary`);
296}
297
298function parseHierarchical(value) {
299 if (value === 'cutout') return Hierarchical.Cutout;

Callers 1

buildVectorizeConfigFunction · 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…