Additional AVIF options (#987)

* Separate colour & alpha options for AVIF

* Adding broken noise synthesis

* Build files

* Updating build

* Changing speed default

* Remove old comment

* Better speed default
This commit is contained in:
Jake Archibald
2021-04-29 11:19:24 +01:00
committed by GitHub
parent e900d33092
commit 33c0c3b034
13 changed files with 131 additions and 90 deletions

View File

@@ -19,10 +19,11 @@ export const mimeType = 'image/avif';
export const extension = 'avif';
export const defaultOptions: EncodeOptions = {
cqLevel: 33,
minQuantizerAlpha: 0,
cqAlphaLevel: -1,
denoiseLevel: 0,
tileColsLog2: 0,
tileRowsLog2: 0,
speed: 8,
speed: 6,
subsample: 1,
chromaDeltaQ: false,
sharpness: 0,