Rotating Images


Image rotation is used to re-orient an image for better viewing or to match another image having a different orientation. Also included in the concept of "rotation" is the concept of flipping an image to produce a mirror-reversed view. All of these techniques permanently change the value at each location of the image; they are not simply an adjustment of the way the image is viewed on the computer screen.

Mira provides a number of different commands for rotating images:

Rotating by 90 Degree steps

The Rotate Image command includes options for rotating the image in 90 degree steps, that is, for 90, 180, and 270 degrees. If the image is not perfectly square, the 90 and 270 degree rotations exchange the width and height.

Reversing the Image

The Rotate Image command includes commands for reversing the image left-right, up-down, and about its main diagonal. (the line from pixel (1,1) to the opposite corner).

Rotating by an Angle

The Rotate Image command has an option to rotate an image by an exact angle, measured in decimal degrees.

Related Topics

World Coordinate System

Rotate Image command

Rotating Images


Mira Pro x64 User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.