add options for grayscale images