fix: revert support for AVIF, KXL, and HEIF

some weird issue with vite not bundling the dynamicLibraries
This commit is contained in:
JovannMC 2025-02-15 13:36:44 +03:00
parent dbf5c2a481
commit e9ea02198f
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -34,8 +34,8 @@ export class VipsConverter extends Converter {
".tiff",
".jfif",
//".heif", HEIF files that are encoded like HEIC files (and HEIC files in general) aren't supported due to https://github.com/kleisauke/wasm-vips/issues/3
".avif",
".jxl",
//".avif", there is an issue with vite not bundling the wasm-vips' dynamicLibraries wasm files correctly
//".jxl",
];
public readonly reportsProgress = false;

View File

@ -1,6 +1,6 @@
import Vips from "wasm-vips";
const vipsPromise = Vips({});
const vipsPromise = Vips({ dynamicLibraries: [] });
vipsPromise
.then(() => {