Image Codec Race

The same image — including geospatial tiles (RGB ortho, AI mask, SAR) at 256²/512² and lossless or lossy — decoded head-to-head in your browser — our memory-safe codecs vs the reference wasm builds: TurboWebP vs libwebp and TurboJXL (single + threaded) vs libjxl.

decode time is best of 3, wasm pre-warmed

testsreal-world photographic high-frequency detail

TurboWebPours · memory-safe wasm
libwebpGoogle's C · reference wasm
TurboJXLours · single-thread wasm
TurboJXL — threadsours · multithreaded (rayon)
libjxlreference · wasm

Running the public @bitruvius CDN bundles (v0.1.0) vs the official reference wasm builds from jsDelivr. Standard JXL benchmark images; the “flower” sample is from the libjxl test corpus (CC-BY-4.0). libwebp © Google LLC (BSD-3-Clause); libjxl © the JPEG XL Project / Google (BSD-3-Clause) — both run unmodified under their licenses. WebP is a trademark of Google LLC; names identify the codecs being compared — no affiliation or endorsement implied.