wasm-vips file does not exist
Ok this is not directly a deno thing, but anyway. Has anyone successfully used wasm-vips with
For me
I thought it would be an issue of relative paths, but I tried all kinds of relative paths (relative to Deno.cwd(), or import.meta.url, or the directory where vips-es6.js is stored), with no luck.
Furthermore I tried a simple filename without path, and put a sample.jpg in every directory I could think of where it might try to load it. No luck.
Am I missing something, or is this is a bug with wasm-vips on deno?
vips.Image.newFromFile(path);?For me
vips.Image.newFromBuffer(buffer) works well. But opening local files directly for example vips.Image.newFromFile('sample.jpg')always complains:I thought it would be an issue of relative paths, but I tried all kinds of relative paths (relative to Deno.cwd(), or import.meta.url, or the directory where vips-es6.js is stored), with no luck.
Furthermore I tried a simple filename without path, and put a sample.jpg in every directory I could think of where it might try to load it. No luck.
Am I missing something, or is this is a bug with wasm-vips on deno?
