mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
#1407: import Radiance HDR stills and image sequences
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>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
71438c627b
commit
595f94f303
@@ -59,7 +59,8 @@ only). "Tested" names the evidence.
|
||||
| **DPX** | read + write | yes: luma / RGB / RGBA, 8–16-bit, filled 10/12-bit, either byte order (#821); packed 10/12-bit, Y'CbCr 4:2:2 / 4:4:4 with or without alpha (#841); no RLE | sequences (10-bit RGB, BT.709; #779) | 90% |
|
||||
| Targa | read + write | yes: every image type, RLE, colour maps, 15–32-bit (#821) | sequences (24-bit, 32-bit with alpha; #779) | 95% |
|
||||
| HEIF / HEIC | read | no | — | 0% |
|
||||
| Radiance HDR, AI / EPS, ICO, PTL | read | no | — | 0% |
|
||||
| **Radiance HDR** | read | yes: RGBE, flat, old and new run-length scan lines, every axis order, kept as linear float (#1407); no XYZE, EXPOSURE / PRIMARIES lines ignored | — | 70% |
|
||||
| AI / EPS, ICO, PTL | read | no | — | 0% |
|
||||
|
||||
## Audio files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user