Rotate
This operation is used to rotate images at an arbitrary angle. The following parameters are used to adjust its settings:
- angle - angle of rotation (default - 0)
- orient - orientation (default - ccw)
- color - background color (default - "r:255,g:255,b:255,a:255")
angle
Angle parameter specifies rotation angle (in degrees). It can accept whole numbers from 0 to 360. The default value is: 0.
Example:
orient
Orient parameter specifies the direction of image rotation. Its allowed values are:
- ccw - counterclockwise rotation.
- cw - clockwise rotation.
The default value is: ccw.
Example:
color
Color parameter specifies the color to fill empty spaces after rotation. The color is specified in RGBA mode color:"r:X1,g:X2,b:X3,a:X4" where X1, X2, X3, X4 are whole positive numbers from 0 to 255. The default value is: "r:255,g:255,b:255,a:255" (transparent).
Example:
general example
ICPCL.exe -source "C:\Original files" -dest "C:\Converted files" -oper Rotate -oper Rotate angle:90 orient:cw color:"r:0,g:255,b:0,a:255"
tips
-
The size of rotated images may vary from that of source images.