[Discussion]: Can we leverage WASM to improve the image tool?
I think we can, but I'm not entirely sure, hoping someone with more experience in WASM than myself can chime in.
You definitely can. There is a WASM port of ImageMagick available, and libsquoosh which powers squoosh.app. Squoosh has good support for AVIF #44 😉
Ouch, about Squoosh, it seems web support is not quite there yet 😢 GoogleChromeLabs/squoosh#1084
@gaston-flores fantastic! No worries about Squoosh, looks like ImageMagick supports avif, so I would presume the WASM port does as well 🤞
Ah, just kidding, no avif - https://cancerberosgx.github.io/demos/WASM-ImageMagick/supported-formats/
Damn 😂 Sharp is also working on WASM support here lovell/sharp#3336, so maybe we just need to wait 🤞
@gaston-flores I think you're right, it's just not out there yet, I'll keep this open in the mean time though. Thanks for the info!