libheif-js
libheif-js copied to clipboard
🤳 libheif as an npm module
Hey, first of all, thanks for building and open sourcing this lib. I'm trying to use it in my react application bundling it with Webpack and I'm getting this error....
I'm trying to run libheif.js directly into an HTML page, but I'm getting the following error: *libheif.HeifDecoder is not a constructor*. Any ideas on what the problem is? index.html ```HTML...
Webpack is emitting this warning when I `require( 'libheif-js/wasm-bundle' )` in my project. The contents of `wasm-bundle.js`: https://github.com/catdad-experiments/libheif-js/blob/d58327650ae188dd1a9b0e8827907ae4bc39dafe/wasm-bundle.js#L1 Not sure how this can be best addressed, I'd have to look...
Hello, I am using `heic-decode`, which underneath seems to be using `libheif-js`. I am currently using Vite.js for my project. However, upon importing the library, this error pops up in...
Parsing a heif with a transparent pixel automatically resolves the alpha of the transparent pixel to 255 instead of 0
When I try to use this lib in my project, I encounter this problem (browser environment, non nodejs environment). It seems that webpack5 is not supported? `import libheif from "libheif-js";`...
I am working on a heic/heif compression tool using the Electron tech stack. I want to use libheif-js to compress a buffer read from the hard drive by `node:fs` to...