Problem: Premiere reads Radiance HDR (.hdr) pictures; FilmCraft listed the extension nowhere and could not open them. Fix: clean-room RGBE decoder in filmcraft-media from the public format description: header with FORMAT, all eight axis orders, flat, old run-length and new per-channel run-length scan lines. Frames are linear float (Rec.709), like EXR. Allocations are bounded by the data present; hostile headers and truncated data return errors. "hdr" joins the importable still extensions; stills and image sequences share the decoder. Output equals ffmpeg's decode exactly for flat and RLE files; EXPOSURE and PRIMARIES lines are ignored and XYZE is refused. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| exr_oracle.rs | ||
| hdr_oracle.rs | ||