Compile JXL encoder

This commit is contained in:
Surma
2020-02-06 15:42:14 -08:00
committed by Ingvar Stepanyan
parent 36d23644aa
commit 98bc151907
9 changed files with 1398 additions and 0 deletions

9
codecs/jxl_enc/jxl_enc.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
// import { EncodeOptions } from '../../src/codecs/avif/encoder-meta';
interface JXLModule extends EmscriptenWasm.Module {
encode(data: BufferSource, width: number, height: number): Uint8Array;
free_result(): void;
}
export default function(opts: EmscriptenWasm.ModuleOpts): JXLModule;