add check if image is grayscale