rotating greyscale images.