Tabmorph RAW runtime 0.22.2-raw1 LibRaw 0.22.2, libjpeg-turbo 3.2.0 and zlib 1.3.2, built with Emscripten 5.0.7. LibRaw is distributed under its LGPL-2.1 option. No GPL demosaicing packs, RawSpeed, Adobe DNG SDK, LCMS, OpenMP, browser threads, network or filesystem are included. JPEG, floating-point deflate DNG, X3F and legacy Raspberry Pi decoding are enabled. The small Tabmorph bridge implements bounded buffers, 16-bit sRGB rendering and linear-light Lanczos resizing. The bridge itself is MIT-licensed. Full notices are in LICENSES.txt. Sources are the upstream archives in sources/, the patch in patches/, bridge.cpp and build.sh. LibRaw is modified by ciff-signed-offset.patch: convert the CIFF make-string length to signed 64-bit before subtracting 63. On wasm32, the original unsigned subtraction wraps to a positive 4 GB seek and loses the camera model and color matrix. The patch preserves the intended backward seek. A real Canon PowerShot G1 CRW fixture caught this error (22.23 dB versus an independent native reference before the fix). manifest.json pins all distributed files by SHA-256. The sRGB profile was generated with Pillow 13.0.0 / LittleCMS; its profile copyright reads "No copyright, use freely". It is color metadata, not executable library code. The pipeline first renders linear sRGB, resizes in linear light when requested, then applies the exact IEC 61966-2-1 sRGB transfer curve through a complete 16-bit lookup table. No 8-bit canvas is involved in PNG, TIFF, PPM or PGM export. Other output paths deliberately quantize to 8 bits. To rebuild: activate the official Emscripten 5.0.7 SDK, with Node.js, CMake, Ninja, GNU make, Python3 and pkg-config available. Run: bash build.sh /absolute/path/to/a-new-build-directory The directory must not exist. The script unpacks the bundled archives, builds each static library and links the module with exceptions enabled and DYNAMIC_EXECUTION=0. No JavaScript eval, SharedArrayBuffer or additional engine CSP permissions are required. The generated codec.mjs and codec.wasm are in that build directory's runtime/. The application serves the runtime as separate files at: /vendor/libraw/0.22.2-raw1/ Compatible modified runtime files can be substituted for use and debugging. This folder contains the complete build inputs and corresponding source needed to rebuild them. The application wrapper and PNG/TIFF writers remain ordinary TypeScript in the repository. Rendering is photographic processing, not a lossless sensor-data backup. Adobe DNG opcodes, JPEG XL DNG, Nikon High Efficiency compression, HDR export, proprietary lens and picture-style instructions, multi-shot merging and all camera variants are not supported. Public validation fixtures document tested cameras without claiming universal format support. Upstream: https://www.libraw.org/data/LibRaw-0.22.2.tar.gz https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/3.2.0 https://www.zlib.net/fossils/zlib-1.3.2.tar.gz https://github.com/emscripten-core/emsdk