use a canvas let picture into grayscale