Add AVIF encoder without options

This commit is contained in:
Surma
2020-02-05 21:52:10 -08:00
committed by Ingvar Stepanyan
parent e1ab43b76f
commit c29006d593
10 changed files with 50 additions and 402 deletions

View File

@@ -4,10 +4,10 @@ interface RawImage {
height: number;
}
interface WebPModule extends EmscriptenWasm.Module {
interface AVIFModule extends EmscriptenWasm.Module {
decode(data: BufferSource): RawImage;
free_result(): void;
}
export default function(opts: EmscriptenWasm.ModuleOpts): WebPModule;
export default function(opts: EmscriptenWasm.ModuleOpts): AVIFModule;