@vibrant/quantizer
Advanced tools
Changelog
3.0.0
Quantization is the most time-consuming stage in node-vibrant
. In v3.0, the quantization can be run in the WebWorker to avoid freezing the UI thread.
Here's how to use this feature:
dist/vibrant.worker.js
or dist/vibrant.worker.min.js
. Or if you are re-bundling with webpack, use lib/bundle.worker.js
as entrylet v = Vibrant.from(src).useQuantizer(Vibrant.Quantizer.WebWorker);
// Other configurations