grayscale/monochrome convert from raster data