Comments (6)
there is indeed a WebAssembly (WASM) build of libheif available on the project's GitHub repository. The wasm branch contains a pre-built WASM file, which can be used by following the instructions provided in the previous comment. Alternatively, you can build the WASM file yourself by following the instructions in the project's README file.
from libheif-js.
libheif now compiles to WASM by default: strukturag/libheif#925
I have created the following ticket to make the maintainer of this repo aware: catdad-experiments/libheif-emscripten#19
from libheif-js.
The branch you are mentioning doesn't exist! Could not find it.
from libheif-js.
GitHub returns nothing.
https://github.com/strukturag/libheif/branches/all?query=wasm
I could not find any information on the readme either.
from libheif-js.
Sorry this took so long, and thank you @jerbob92 for your wonderful work.
As of [email protected]
, there is now a published wasm version. More info in the updated README.
from libheif-js.
@jerbob92 Is there a way to use the WASM without the dynamic execution? Im running into issues with CSP unsafe_eval for a new Function call it looks like. Even in the new libheif-bundle.mjs
🤔
from libheif-js.
Related Issues (17)
- Please upgrade to 1.8.0 HOT 4
- Support for darwin-arm64 architecture HOT 1
- AVIF Support HOT 1
- Not working with Vite HOT 7
- libheif library can shutdowns apps HOT 3
- Parsing a heif with a transparent pixel automatically resolves the alpha of the transparent pixel to 255 instead of 0 HOT 2
- Additional Functionality HOT 2
- Run in browser vs server
- Error: libheif.HeifDecoder is not a constructor HOT 5
- require function is used in a way in which dependencies cannot be statically extracted HOT 4
- Not working on Android HOT 3
- Critical dependency: require function is used in a way in which dependencies cannot be statically extracted HOT 2
- Module['ENVIRONMENT'] value is not valid HOT 4
- Images from Apple devices are distorted when parsed by libheif-js HOT 2
- Bump to v1.11.0
- transition to GitHub Actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libheif-js.