Hacker News new | ask | show | jobs
by lioeters 587 days ago
libav.js is in the direction you're thinking.

> compilation of the libraries associated with handling audio and video in FFmpeg — libavformat, libavcodec, libavfilter, libavutil and libswresample — for WebAssembly

https://github.com/Yahweasel/libav.js/

EDIT: Looking closer at the above I don't see image formats, only audio and video. Maybe this gets closer:

> Decodes images using Rust's image crate compiled to WebAssembly.

> It supports decoding PNG, JPEG, WEBP, GIF, BMP, ICO, TGA, and several others.

https://github.com/josephrocca/wasm-image-decoder