documentation index ◦ reference manual ◦ function index

# im.matrix.tint

Function: | im.matrix.tint | (r, g, b):

Constructs an im.matrix that tints an image, while leaving the alpha channel intact. r, g, and b, should be numbers between 0 and 1, and control what fraction of the given channel is placed into the final image. (For example, if r is .5, and a pixel has a red component of 100, the corresponding pixel will have a red component of 50.)

documentation index ◦ reference manual ◦ function index