mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
* EXR: multi-part files open the colour part; exr_info lists them all A Maya/Arnold render writes one part per AOV. The decoder took part 0 silently, so a depth-only part failed the whole file with "no R/G/B or Y channels". Now the part that looks most like a colour image opens (RGBA > RGB > YA > a single channel, earliest wins), with a DecodeWarning::MoreParts naming how many parts exist. exr_info lists every part (name, view, size, channels, deep/tiled) from the headers alone, and decode_exr_part decodes a chosen part — F16 parts stay F16. Deep parts stay with the deep decoder: a file that has any is refused here with a pointer to decode_deep_exr, by design. * EXR: cap the parts' sizes together, move the chosen part out instead of cloning it Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Brandon Thomas <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>