#745: import Targa (.tga) and Radiance HDR (.hdr) stills and sequences
Problem: the Media Browser lists .tga and .hdr files (and groups them into image sequences), but media::is_importable had neither extension and the still decoder never tried them, so importing them failed. Fix: enable the image crate's built-in tga and hdr decoders (no new dependency), add both to STILL_EXTENSIONS and the File > Import dialog, and pick a still's format by signature with an extension fallback, since Targa has no signature. Radiance HDR is linear float light and is sRGB-encoded like OpenEXR (super-white kept); Targa alpha goes through the existing unlabeled-alpha interpretation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9a7d3e7699
commit
1fdf817cc9
@@ -48,9 +48,9 @@ trips and renders, checked by tests, not against After Effects), **partial** (na
|
||||
| GIF | R/W | yes | yes (animated) | good |
|
||||
| BMP | R | yes | — | good |
|
||||
| WebP | — | yes | — | beyond After Effects |
|
||||
| Targa `.tga` | R/W | none | none | Media Browser lists it but import refuses (gap 17) |
|
||||
| DPX / Cineon `.dpx` `.cin` | R/W | none | none | Same; common in film VFX |
|
||||
| Radiance `.hdr` | R/W | none | none | Same |
|
||||
| Targa `.tga` | R/W | yes (still and sequence; alpha interpreted on import) | none | good for import (#745); no Targa output |
|
||||
| DPX / Cineon `.dpx` `.cin` | R/W | none | none | Media Browser lists it but import refuses (gap 17); common in film VFX |
|
||||
| Radiance `.hdr` | R/W | yes (still and sequence, 32-bit linear float like OpenEXR) | none | good for import (#745); no Radiance output |
|
||||
| SGI, PICT, ElectricImage, RLA/RPF images | R | none | none | Legacy; RPF camera data import exists (`keys.rpfCameraImport`) |
|
||||
| Camera Raw (DNG, CR3, NEF…) | R (Camera Raw) | none | none | LightCraft has decoders that could be shared |
|
||||
| HEIF / AVIF | R (platform) | none | none | — |
|
||||
|
||||
Reference in New Issue
Block a user