Bound OpenEXR pictures in memory and keep effects' depth fill

The picture of an OpenEXR file (also the black one of a file without a
main picture) is checked before anything is read: no larger than a
still may decode to and than one read of the file may allocate, else
refused with the reason instead of allocated. Import refuses such a
picture as other stills. The fill of a picture channel in a part named
like depth is the background depth again, as effects read it; the
picture is 0 outside that part's data window when composed instead.
A read decompresses on at most four threads of its own, none for a
small file.
This commit is contained in:
vangel76 committed 2026-11-16 22:59:38 +01:00
1 parent d671f6e45b
commit c1aea6d65a
8 files changed
+104 -26

No files matched your search

+2 -2
View File
@@ -118,8 +118,8 @@ false` goes back to Use Source File Timecode). Cineon Settings: `{"logConversion
Float OpenEXR renders hold linear light; EffectCraft sRGB-encodes them as they are read, like
After Effects with Interpret As Linear Light for 32 bpc, unless the item preserves RGB (above).
A multi-layer file shows its main picture, as in After Effects: the channels without a layer
prefix, `R`, `G`, `B` (and `A`) of the first part that has all three, else the first part's `Y`
(and `A`) as grey. Renders that keep every pass in named layers (Blender's
prefix, `R`, `G`, `B` (and `A`) of the first part that has all three, else the first part that
has a `Y` (its `Y` and `A`) as grey. Renders that keep every pass in named layers (Blender's
`ViewLayer.Combined`, its compositor's File Output `Image`, Nuke's `beauty.R`) have no main
picture and show black at the file's size, as After Effects shows them; EXtractoR (and
Cryptomatte and the 3D Channel effects) read every layer and channel by name.