Apply gray-scale effect to the images