mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
AVIF in worker
This commit is contained in:
7
src_old/codecs/avif/decoder-meta.ts
Normal file
7
src_old/codecs/avif/decoder-meta.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const name = 'WASM AVIF Decoder';
|
||||
|
||||
const supportedMimeTypes = ['image/avif'];
|
||||
|
||||
export function canHandleMimeType(mimeType: string): boolean {
|
||||
return supportedMimeTypes.includes(mimeType);
|
||||
}
|
||||
Reference in New Issue
Block a user