Common Operator Attributes

Several attributes are common to all of the color transform operator elements.

id
A unique identifier for the element. Optional.
name
A friendly name for the element. Optional.
bypass
Introduced in version 1.3.
Specifies that the operator should not be applied during color processing. Optional.
If this attribute exists, its value must be "true". By using this attribute in combination with a DynamicParameter element that has its param attribute set to "LOOK_SWITCH", you can define operators that will never affect values rendered to file but that can still be toggled on and off for display.
inBitDepth
The input color data type expected by the operator. Required.
outBitDepth
The output color data type produced by the operator. Required.
Note: The inBitDepth attribute of each operator must match the outBitDepth attribute of the previous operator in the chain.

Supported Values for inBitDepth and outBitDepth

Value Meaning
"8i" 8-bit integer
"10i" 10-bit integer
"12i" 12-bit integer
"16i" 16-bit integer
"16f" 16-bit floating point (half-float)
"32f" 32-bit floating point (single precision)

About Bit Depth

The values specified for inBitDepth and outBitDepth attributes do not affect the quantization of color values. All processing is performed using 32-bit floating-point values.

The inBitDepth and outBitDepth attributes affect only the format of the numbers used in the CTF file, such as the values used in an Array, Matrix, or Range element. For example, if you find it convenient to specify values as integers in the range [0, 1023] then you can use an inBitDepth of "10i". You can still specify values outside this range, and those values will be used in the intermediate computations.