Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.98 colorcomponents

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