ROTBIT

Bitmap rotation


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


Rotates bitmap data in an image file by 90 degrees, 180 degrees or 270 degrees.
Back to top

Parameters


Name Type Length Value range
InputBit: Input bitmap segment * Bitmap port 1 - 1024  
OutputBit: Output bitmap segment * Bitmap port 1 - 1024  
Angle * Integer 1 - 1  
Report String 0 - 192 See parameter description

* Required parameter
Back to top

Parameter descriptions

InputBit: Input bitmap segment

Specifies the input bitmap segment(s) to be rotated.

OutputBit: Output bitmap segment

Specifies the output bitmap segment(s) to receive the rotated results.

Angle

Specifies the clockwise angle (in degrees) by which to rotate the input bitmap(s).

Supported rotation angles are 90, 180 or 270 degrees.

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

ROTBIT rotates specified bitmap segment(s) about the bitmap center, by an angle of 90, 180 or 270 degrees.

The result is placed in the specified bitmap segment(s).

If the angle of rotation (ANGLE) is 90 or 270 degrees, the output file must have exactly as many lines as the input file has pixels, and exactly as many pixels as the input file has lines. If ANGLE is 180 degrees, the output file must be exactly the same size as the input file, and may be the same file.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.