Python: AllocationTransform¶Examples of Use¶import PyOpenColorIO as OCIO
transform = OCIO.AllocationTransform()
transform.setAllocation(OCIO.Constants.ALLOCATION)
Python: CDLTransform¶Examples of Use¶import PyOpenColorIO as OCIO
cdl = OCIO.CDLTransform()
# Set the slope, offset, power, and saturation for each channel.
cdl.setSOP([, , , , , , , , ])
cdl.setSat([, , ])
cdl.getSatLumaCoefs()
Description¶
Python: ColorSpaceTransform¶
Note Careless use of this may create infinite loops, so avoid referencing the colorspace you’re in. Examples of Use¶import PyOpenColorIO as OCIO
transform = OCIO.ColorSpaceTransform()
Python: DisplayTransform¶import PyOpenColorIO as OCIO
transform = OCIO.DisplayTransform()
Used to create transforms for displays.
Python: ExponentTransform¶import PyOpenColorIO as OCIO
transform = OCIO.ExponentTransform()
|