Add support for converting layers to greyscale