This tool can be used to flip, or reflect, an image (input
) either vertically, horizontally, or both. The axis of reflection is specified using the direction
parameter. The input image is not reflected in place; rather, the reflected image is stored in a separate output file.
def flip_image(self, raster: Raster, direction: str = "v") -> Raster: ...