Next: colorpixel, Previous: cluster, Up: Internal Routines [Contents][Index]
colorcomponents, pixels, r, g, b
[x11]
Takes raw pixel values pixels
and returns the
relative red, green, and blue components in r
,
g
, and b
, which must be named variables and
which are transformed to byte
arrays. The return values range
between 0 (absent) and 255 (full intensity).
See also: Color