Modified ImageUtils greyscale

Directly modify the writable raster of the image to return.