Add greyscale processing and fix CMYK processing