mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Update cli/src/codecs.js
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
This commit is contained in:
@@ -347,7 +347,7 @@ export const codecs = {
|
|||||||
const simplePng = new Uint8Array(
|
const simplePng = new Uint8Array(
|
||||||
pngEncDec.encode(new Uint8Array(buffer), width, height),
|
pngEncDec.encode(new Uint8Array(buffer), width, height),
|
||||||
);
|
);
|
||||||
return new Uint8Array(oxipng.optimise(simplePng, opts.level));
|
return oxipng.optimise(simplePng, opts.level);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user