#283: Added option for converting images to Grayscale