meta data for this page
Modifications – Rotate
Rotate can rotate an image, mirror it, or apply the orientation stored in a TIFF file.
| Action | Options |
|---|---|
| rotate | “direction”: counterclockwise, clockwise or upside down (90° steps), or arbitrary, with an “angle” in degrees counterclockwise. An empty angle means no rotation |
| mirror | “flip”: horizontally, from left to right (the default), or vertically, from top to bottom. A vertical flip is not the same as turning the image upside down |
| orient | Reads the TIFF “Orientation” tag and either applies that rotation (the default) or removes the tag without rotating the image |
Rotate works on byte, integer or floating-point images, and the output is the same type as the input.