RotateImage
Rotates an image clockwise.
Syntax
C++
Python
def RotateImage( inImage: Image, inAngle: float, outImage: Image, /, *, inSizeMode: RotationSizeMode = RotationSizeMode.Fit, inInterpolationMethod: InterpolationMethod = InterpolationMethod.Bilinear, inInverse: bool = False, outOutputAlignment: CoordinateSystem2D | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inAngle | float | Rotation angle (clockwise) | |
![]() |
inSizeMode | RotationSizeMode | RotationSizeMode.Fit | |
![]() |
inInterpolationMethod | InterpolationMethod | InterpolationMethod.Bilinear | |
![]() |
inInverse | bool | False | 'True' changes rotation to counter-clockwise |
![]() |
outImage | Image | Output image | |
![]() |
outOutputAlignment | CoordinateSystem2D | None | None | Alignment of the output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


