flip
Mirror an image horizontally or vertically and save the result to a new file, leaving the source unchanged. Specify the axis to flip the image left-right or top-bottom.
Instructions
Mirror an image and write it to a NEW file (source unchanged). 'axis' selects horizontal (left-right mirror) or vertical (top-bottom flip). Returns the output path and the axis used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Output image path. A new file is created; the source is left untouched. | |
| axis | Yes | Mirror direction: horizontal (left-right) or vertical (top-bottom). Default horizontal. | |
| path | Yes | Source image path. |