Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

colorManagementConvert [-toDisplaySpace float float float]

colorManagementConvert is NOT undoable, NOT queryable, and NOT editable.

This command can be used to convert rendering (a.k.a. working) space color values to display space color values. This is useful if you create custom UI with colors painted to screen, where you need to handle color management yourself. The current view transform set in the Color Management user preferences will be used.

Return value

None

Keywords

color, management

Flags

toDisplaySpace
Long name (short name) Argument types Properties
-toDisplaySpace(-tds) float float float create
Converts the given RGB value to display space.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples


float $color[] = `colorManagementConvert -toDisplaySpace 0.5 0.5 0.5`;