Hacker News new | ask | show | jobs
by ochronus 2056 days ago
Thanks for the tips - I'm tied to node at the moment - wasm-avif has serious issues with thready safety an memleaks :( tried it.
2 comments

Sharp lib is veeeerrryyy close to AVIF support: https://github.com/lovell/sharp/issues/2289 (you can compile a version to use for yourself, it's just not production stable yet).
If you're in control of the environment, you might want to consider the yak shaving road and build a node package with a C, C++ or Rust library then. ;-)