mirror of https://github.com/VERT-sh/VERT.git
parent
cda77f4e12
commit
a47b5ffba9
|
@ -33,6 +33,9 @@ export class VipsConverter extends Converter {
|
|||
".tif",
|
||||
".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",
|
||||
];
|
||||
|
||||
public readonly reportsProgress = false;
|
||||
|
@ -51,8 +54,6 @@ export class VipsConverter extends Converter {
|
|||
error(["converters", this.name], `error in worker: ${message.error}`);
|
||||
addToast("error", `Error in VIPS worker, some features may not work.`);
|
||||
throw new Error(message.error);
|
||||
} else {
|
||||
error(["converters", this.name], `unknown message type: ${message.type}`);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@ import { type WorkerMessage, type OmitBetterStrict } from "$lib/types";
|
|||
import Vips from "wasm-vips";
|
||||
|
||||
const vipsPromise = Vips({
|
||||
// see https://github.com/kleisauke/wasm-vips/issues/85
|
||||
dynamicLibraries: [],
|
||||
});
|
||||
|
||||
vipsPromise
|
||||
|
|
Loading…
Reference in New Issue