A published international standard's entropy decode, byte-exact in this tab.
JPEG AI (ISO/IEC 6048) is a learned image codec. Its entropy stage is defined in integer arithmetic so it decodes identically on every device — and WAI runs that stage with the same pure-i64 Rust a native sink runs, compiled to wasm32: no onnxruntime-web, no float. The stream below was produced by the reference software's own encoder. Your browser rebuilds the decode tables from the integer PMF rows and decodes the masked-ANS bitstream to residual symbols.
Then it hashes the decoded symbols and checks the digest against the one the native reference produced. A byte-identical match, host and browser, is the whole point of the integer-entropy contract: the reconstruction is a portable hash. These are the same stream and symbols WAI's cross-architecture byte-equality suite checks natively — here they run client-side, with no server.