pic
expression function
Returns the color of a pixel in a compositing node.
Replaced by: hou.CopNode
See also: picni, tex, texni, res
Usage
pic(copname, U, V, color_type)
The color_type parameter can be one of the following: D_CR, D_CG, D_CB, D_CA, D_CHUE, D_CSAT, D_CVAL, D_CLUM for the red, green, blue, alpha, hue, saturation, value, or luminance of the pixel.
The color returned will be interpolated smoothly between adjacent pixels. For the non-interpolated color, use picni.
Examples
pic("/img/img1/color1", .5, .5, D_CLUM)