src/transformers/models/donut/image_processing_donut.py/DonutImageProcessor/rotate_image
class DonutImageProcessor:    def rotate_image(self, *args, **kwargs):
        logger.info(
            "rotate_image is deprecated and will be removed in version 4.27. Please use align_long_axis instead."
        )
        return self.align_long_axis(*args, **kwargs)