mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 01:59:57 +00:00
Fix AVIF in libsquoosh
This commit is contained in:
@@ -273,17 +273,19 @@ export const codecs = {
|
|||||||
dec: () => instantiateEmscriptenWasm(avifDec, avifDecWasm),
|
dec: () => instantiateEmscriptenWasm(avifDec, avifDecWasm),
|
||||||
enc: () => instantiateEmscriptenWasm(avifEnc, avifEncWasm),
|
enc: () => instantiateEmscriptenWasm(avifEnc, avifEncWasm),
|
||||||
defaultEncoderOptions: {
|
defaultEncoderOptions: {
|
||||||
minQuantizer: 33,
|
cqLevel: 33,
|
||||||
maxQuantizer: 63,
|
cqAlphaLevel: -1,
|
||||||
minQuantizerAlpha: 33,
|
denoiseLevel: 0,
|
||||||
maxQuantizerAlpha: 63,
|
|
||||||
tileColsLog2: 0,
|
tileColsLog2: 0,
|
||||||
tileRowsLog2: 0,
|
tileRowsLog2: 0,
|
||||||
speed: 8,
|
speed: 6,
|
||||||
subsample: 1,
|
subsample: 1,
|
||||||
|
chromaDeltaQ: false,
|
||||||
|
sharpness: 0,
|
||||||
|
tune: 0 /* AVIFTune.auto */,
|
||||||
},
|
},
|
||||||
autoOptimize: {
|
autoOptimize: {
|
||||||
option: 'maxQuantizer',
|
option: 'cqLevel',
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 62,
|
max: 62,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user