mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
The deep EXR decoder (#642) was verified against the OpenEXR project's deep test images, but those lived in a hand-copied `corpus/exr/` and the test skipped when they were absent, so CI never read them. `cargo xtask corpus --exr` (and `--all`) now fetches the five `*.deep.exr` files of openexr v3.5.2 `src/test/bin/test_images`, sha256-verified against `xtask/exr-corpus.sha256`. `real_deep_files_decode` is behind the `corpus` feature and fails when the corpus is missing. It checks each file's sample total, largest per-pixel count, cumulative counts and channel lengths, and that the decoded u32 ID channels hold exactly the IDs listed by the upstream `.txt` sidecars (an independent oracle), plus the flattened decode. FILE-216-3 moves to partial (EXR read in CI; TIFF and RAW still are not).