mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-17 11:09:41 +00:00
No name on preprocessors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user