The Rotate function can rotate an image 90 degrees or 270 degrees clockwise. This allows you to display images with the correct orientation.