documentation index ◦ reference manual ◦ function index
Function: | im.Grayscale | (im, desat=(0.2126, 0.7152, 0.0722)): |
This image operator converts the given image to grayscale. desat is as for im.matrix.saturation.
init: image city gray = im.Grayscale("city.jpg")