add iconToGrayScale(in, out) function