mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
* Web: leave the JPEG XL DNG decoder out of the wasm (0.88 MB, 23.1 MiB now) The 0.6.0 web build went over packaging/web/package.sh's 24 MiB gate (26,980,503 bytes on782bcb67). Today's landings added 1.34 MB; the biggest single item was jxl-oxide (#2047, JPEG XL-compressed DNG): ~0.6 MB of jxl_* code plus brotli-decompressor and tables, 0.88 MB after wasm-opt.0c72d954brought the wasm back to 25,144,413 bytes (21 KB under the gate) by deflating catalogs and fonts; this takes it to 24,262,088 bytes (23.14 MiB, 904 KB of headroom). jxl-oxide is now a native-only dependency of photocraft-raw. On wasm32 a JPEG XL DNG segment returns RawError::Unsupported ("can't be opened in the browser version of PhotoCraft; open it in the desktop app"), like the other cfg-gated web features; every other DNG compression and raw format still opens in the browser. Native builds are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> * xtask i18n-coverage: read the deflated catalog! registry entries0c72d954changed the LANGUAGES registry from include_str!("xx.tsv") to catalog!("xx"), so `cargo xtask i18n-coverage` failed with "language `ja` has no include_str! catalog". Parse the new form (the macro argument is the catalog's file stem). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>