mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-19 12:08:57 +00:00
Updating AVIF, and 'auto' SSIM option (#1008)
This commit is contained in:
8
codecs/avif/enc/avif_enc.d.ts
vendored
8
codecs/avif/enc/avif_enc.d.ts
vendored
@@ -1,3 +1,9 @@
|
||||
export const enum AVIFTune {
|
||||
auto,
|
||||
psnr,
|
||||
ssim,
|
||||
}
|
||||
|
||||
export interface EncodeOptions {
|
||||
cqLevel: number;
|
||||
denoiseLevel: number;
|
||||
@@ -8,7 +14,7 @@ export interface EncodeOptions {
|
||||
subsample: number;
|
||||
chromaDeltaQ: boolean;
|
||||
sharpness: number;
|
||||
targetSsim: boolean;
|
||||
tune: AVIFTune;
|
||||
}
|
||||
|
||||
export interface AVIFModule extends EmscriptenWasm.Module {
|
||||
|
||||
Reference in New Issue
Block a user