Ayon's OIIOtool handling currently removes all subimages (all AOVs that aren't RGBA). This PR does the following:
takes out the argument that restricts to 1 subimage
modifies the colour conversion arguments to only occur on the first subimage (rgba).
The results of the OIIOtool will be unchanged, unless the input files have >1 subimages and the OIIOtool argument "-a" is added (should this be documented somewhere?). Then, extra channels will pass through the transcode, and can have reformats etc applied if desired.
Additional info
To have subimages identified, inputs must be a proper multipart EXR. In Nuke, this can be done by setting "interleave" to "channels" in the write node (very easy to define in the Ayon Nuke addon). Don't forget to set your channels to "all"!
Testing notes:
Configure an Extract OIIO Transcode profile for a multipart exr (see additional info for more)
Add "-a" into the profile's OIIOtool arguments
Check that your extra AOVs have survived the transcode process
Changelog Description
Ayon's OIIOtool handling currently removes all subimages (all AOVs that aren't RGBA). This PR does the following:
The results of the OIIOtool will be unchanged, unless the input files have >1 subimages and the OIIOtool argument "-a" is added (should this be documented somewhere?). Then, extra channels will pass through the transcode, and can have reformats etc applied if desired.
Additional info
To have subimages identified, inputs must be a proper multipart EXR. In Nuke, this can be done by setting "interleave" to "channels" in the write node (very easy to define in the Ayon Nuke addon). Don't forget to set your channels to "all"!
Testing notes: