AcademySoftwareFoundation / OpenColorIO

A color management framework for visual effects and animation.
https://opencolorio.org
BSD 3-Clause "New" or "Revised" License
1.76k stars 434 forks source link

Add NamedTransform support to ocioconvert #1863

Open doug-walker opened 11 months ago

doug-walker commented 11 months ago

Named Transforms are an alternative to color spaces and are used in the new OCIO configs for ACES. It would be helpful if the OCIO command-line tool ocioconvert added an option to apply a NamedTransform. Note that there should be an option to apply it in either the forward or inverse direction.

eli13gh commented 10 months ago

Need a bit of learning curve but I can tackle this ask for ocioconvert, please assign it to me.

pennelee commented 7 months ago

Hi @doug-walker , Could you suggest a test that would show how the NamedTransform works?

doug-walker commented 7 months ago

@pennelee , please see this test. You basically ask for a NamedTransform object of the requested name from the config and then call getProcessor. Once you have the Processor, you can look elsewhere in ocioconvert to see how to apply pixels through it.

pennelee commented 2 months ago

Hi @doug-walker , I have made changes in https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1988.
Please let me know your feedback, also if there are combinations of options that should work together. I thought not but not 100% sure. Thank you!