jsColorEngine samples

jsColorEngine — browser samples

Runnable demos of the jsColorEngine ICC colour management library. Every demo is zero-build vanilla JS driven by the small ICCImage helper module.

Engine: MPL-2.0 · Samples: MIT (LICENSE) · Live: o2creative.co.nz/jscolorengine · Source: GitHub

Demos

Running locally

The engine ships a UMD bundle at browser/jsColorEngineWeb.js. Build it once, then start the dev server:

npm run browser   # build the UMD bundle
npm run serve     # start dev server on :8080 (samples + bench)

Then open the landing page or /samples/samples.html for the demo index. The bench is at /samples/bench/.

ICCImage helper

All demos share a small immutable image wrapper: iccimage.js. It handles the “load image → transform → display” plumbing so each demo stays under ~100 lines.

Full API reference: ICCImage.md