webCOMAND

#IMAGE Greyscale

Convert all colors of an image to the closest matching grey scale value.  The effect is similar to looking at a color television image on a black and white display.

Prototype

#IMAGE($image_bytes, GreyScale)

Example

#/ convert color image to grey scale
#NEW($img)#IMAGE($img,GreyScale)#ENDNEW