StroyKalk HEIF corresponding source v892

This archive contains the exact C bridge, runtime JS/WASM, static object
libraries, matching headers, source archives, licence texts and relink recipe.
The application bridge and LGPL components may be modified and relinked.

Versions: libheif 1.23.6; libde265 1.1.3; dav1d 1.5.4; zlib 1.3.2.
Compiler: official Emscripten 4.0.23. No installation scripts were executed.

Contents:
  source/stroy-heif.c                 exact shipping C bridge
  source/rebuild.py                  tested portable relink script
  source/REBUILD.md                  detailed instructions
  relink-package/lib/*.a             exact link inputs
  relink-package/include/            matching original library headers
  source/*tar* and *.tgz             upstream source/object archives
  source/upstream-*                  pinned upstream recipe, patches, helper
  runtime/                          shipping object-code JS and WASM
  licenses/                         full component licence texts
  SOURCE-PROVENANCE.json             compiler/source/package provenance
  MANIFEST-SHA256.json               every other archive member's hash

Relink on your own computer:
1. Activate official Emscripten 4.0.23 using its normal environment.
2. Extract source/zlib-1.3.2.tar.gz into a new directory.
3. From this archive's root, run (replace the example paths):

python source/rebuild.py --emscripten /path/to/emsdk/upstream/emscripten --package relink-package --zlib /path/to/zlib-1.3.2 --output rebuilt

The script recompiles zlib 1.3.2 and links the C bridge with the exact provided
libheif/libde265/dav1d objects. It has been tested to reproduce the exact
shipping JS/WASM hashes. You can substitute modified compatible libraries and
headers in relink-package before running it. See source/REBUILD.md and the
upstream recipe for building the component libraries from source. The original
npm package, including its CLI relink materials, is supplied as well.

The bridge has a 512 MiB maximum WASM heap, 256 MiB libheif tracked allocation
budget, 16,000,000-pixel limit, 8192-pixel side limit, and exports only the
primary image. Actual decoded plane geometry and stride bound every copy.
The JS transfer buffer and browser canvas consume additional memory.

No additional restriction is imposed on modifying/relinking the LGPL library
or reverse engineering needed for debugging such modifications. See licences.
