converts an image into greyscale

copy the code of image editing / grayscale an image

click here to select all the code