Converts an image into a grayscale copy