new, much faster setGrayscaleimage