mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-18 19:49:04 +00:00
Move to makefile for AVIF
This commit is contained in:
12
codecs/avif/dec/avif_dec.d.ts
vendored
Normal file
12
codecs/avif/dec/avif_dec.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
interface RawImage {
|
||||
buffer: Uint8Array;
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
interface AVIFModule extends EmscriptenWasm.Module {
|
||||
decode(data: BufferSource): RawImage;
|
||||
}
|
||||
|
||||
export default function(opts: EmscriptenWasm.ModuleOpts): AVIFModule;
|
||||
|
||||
Reference in New Issue
Block a user