OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

Add NamedTransform support to ocioconvert

Open doug-walker opened this issue 2 years ago • 4 comments

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.

doug-walker avatar Sep 22 '23 01:09 doug-walker

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

eli13gh avatar Oct 13 '23 19:10 eli13gh

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

pennelee avatar Feb 01 '24 21:02 pennelee

@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.

doug-walker avatar Feb 02 '24 00:02 doug-walker