Look

class PyOpenColorIO.Look

The :ref:`Look` is an ‘artistic’ image modification, in a specified image state. The processSpace defines the ColorSpace the image is required to be in, for the math to apply correctly.

Look(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.Look) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.Look, name: str = ‘’, processSpace: str = ‘’, transform: PyOpenColorIO.PyOpenColorIO.Transform = None, inverseTransform: PyOpenColorIO.PyOpenColorIO.Transform = None, description: str = ‘’) -> None

getDescription() str
getInterchangeAttribute(attrName: str) str

Get/Set the interchange attributes.

Currently the only supported attribute name is “amf_transform_ids”. Using any other name will throw. If the attribute is not defined, it will return an empty string. Setting the value to an empty string will effectively delete the attribute.

The AMF transform IDs are used to identify specific transforms in the ACES Metadata File. Multiple transform IDs can be specified in a newline-separated string.

getInterchangeAttributes() dict[str, str]
getInverseTransform() PyOpenColorIO.PyOpenColorIO.Transform
getName() str
getProcessSpace() str
getTransform() PyOpenColorIO.PyOpenColorIO.Transform
setDescription(description: str) None
setInterchangeAttribute(attrName: str, attrValue: str) None
setInverseTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) None

Setting a transform to a non-null call makes it allowed.

setName(name: str) None
setProcessSpace(processSpace: str) None
setTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) None

Setting a transform to a non-null call makes it allowed.