# OCIODisplay

> Apply an OCIO display / view transform.

| Node | OCIODisplay |
|---|---|
| Menu | Color › OCIODisplay |
| **Names in each format** | |
| .oink comp (JSON) | `"type": "OC_N_ociodisplay"` |
| .nk script | `OCIODisplay` ([how .nk import works](/docs/nuke-users/nk-import)) |
| Python | `nuke.createNode("OCIODisplay")` |
| Assistant (MCP) | `create_node(type="OCIODisplay")` |
| Tab search | `ociodisplay`, or its initials `ociod` |

![OCIODisplay properties](/shots/nodes/ociodisplay@2x.webp)

## Inputs and outputs

| Port | Name | Type |
|---|---|---|
| input 0 | Image | image |
| input 1 | mask | image |
| output 0 | Image | image |

## Knobs

Panel tab **OCIODisplay**, in panel order.

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `colorspace` | input colorspace | menu | `scene_linear` | scene_linear | `colorspace` |  |
| `display` | display device | menu | `default` | default | `display` |  |
| `view` | view transform | menu | `default` | default | `view` |  |
| `invert` | invert direction | bool | `false` |  | `invert` |  |
| `gain` | gain | float | `1` | 0 to 64 | `gain` |  |
| `gamma` | gamma | float | `1` | 0 to 4 | `gamma` |  |
| `saturation` | saturation | float | `1` | 0 to 4 | `saturation` |  |
| `channel_selector` | channel view | menu | `RGB` | RGB, R, G, B, A, Luminance | `channel_selector` |  |
| `layer` | layer | text | `rgba` |  | `layer` |  |
| `key1` | key1 | text |  |  | `key1` |  |
| `value1` | value1 | text |  |  | `value1` |  |
| `key2` | key2 | text |  |  | `key2` |  |
| `value2` | value2 | text |  |  | `value2` |  |
| `key3` | key3 | text |  |  | `key3` |  |
| `value3` | value3 | text |  |  | `value3` |  |
| `key4` | key4 | text |  |  | `key4` |  |
| `value4` | value4 | text |  |  | `value4` |  |

### Other knobs (Python, .nk and the assistant; not on the panel)

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `gl_color` | Viewer Controls Color | float ×3 | `0, 0, 0` | 0 to 1 |  |  |
| `postage_stamp_frame` | Static Frame | int | `1` | -2147483648 to 2147483647 |  |  |
| `lifetimeStart` | Lifetime Start | int | `0` | -2147483648 to 2147483647 |  |  |
| `lifetimeEnd` | Lifetime End | int | `100` | -2147483648 to 2147483647 |  |  |
| `useLifetime` | Use Lifetime | boolean | `false` |  |  |  |
| `cached` | Cached | boolean | `false` |  |  |  |
| `bookmark` | Bookmark | boolean | `false` |  |  |  |
| `dope_sheet` | Dope Sheet | boolean | `false` |  |  |  |
| `clone_group` | Clone Group | string |  |  |  |  |
| `link_source` | Link Source | string |  |  |  |  |
| `link_overrides` | Link Overrides | string |  |  |  |  |
| `split_views` | Split Views | string |  |  |  |  |
| `channels` | Channels | string | `rgba` |  |  | Layer the op applies to: rgb, rgba, alpha, all, none, <layer> or <layer>.<ch> |
| `mask_channel` | Mask | string | `none` |  |  | Mask channel, e.g. rgba.alpha (none = no mask) |
| `invert_mask` | Invert | boolean | `false` |  | `invert_mask` |  |
| `inject` | inject | boolean | `false` |  |  | Copy the mask into mask.a for nodes downstream |
| `fringe` | fringe | boolean | `false` |  |  | Only apply the effect at the edges of the mask |
| `unpremult` | (Un)premult by | enum | `none` | none, rgba.alpha |  |  |
| `invert_unpremult` | invert | boolean | `false` |  |  | (Un)premultiply by 1 - alpha |
| `mix` | Mix | float | `1` | 0 to 1 |  |  |


---
Sources: opencomp_core/nodes/color/colorspace_nodes.py, opencomp_electron/src/components/properties/knobSchema.ts, opencomp_core/nk/mapping.py
