Hook up options UI to quantizer

This commit is contained in:
Surma
2018-07-31 12:32:37 +01:00
parent 2165383da4
commit a002b376af
5 changed files with 121 additions and 20 deletions

View File

@@ -11,7 +11,6 @@ export interface QuantizeOptions {
dither: number;
}
// These come from struct WebPConfig in encode.h.
export const defaultOptions: QuantizeOptions = {
maxNumColors: 256,
dither: 1.0,