Make images smaller using best-in-class codecs, right in the browser.
JavaScript
No name on preprocessors
Surmab16d60b52b64
diff --git a/src/codecs/imagequant/quantizer.ts b/src/codecs/imagequant/quantizer.tsindex cb0bb2fc..bef87bd9 100644--- a/src/codecs/imagequant/quantizer.ts+++ b/src/codecs/imagequant/quantizer.ts@@ -1,6 +1,5 @@import QuantizerWorker from './Quantizer.worker';-export const name = 'Image Quanitzer';export async function quantize(data: ImageData, opts: QuantizeOptions): Promise<ImageData> {const quantizer = await new QuantizerWorker();return quantizer.quantize(data, opts);