Use different approach to generate grayscale images.