Reference

Table of Contents  ▸  List of Commands  ▸  Geometry Manipulation  ▸  rotate◀  resize3dz    |    rotate_tileable  ▶

rotate

Built-in command

Arguments:

Description:

Rotate selected images with specified angle (in deg.), and optionally 3D axis (u,v,w).

interpolation can be { 0=none | 1=linear | 2=bicubic }.
boundary_conditions can be { 0=dirichlet | 1=neumann | 2=periodic | 3=mirror }.
When a rotation center (cx,cy,_cz) is specified, the size of the image is preserved.

Default values:

interpolation=1, boundary_conditions=0 and center_x=center_y=(undefined).

Example of use:

$ gmic image.jpg +rotate -25,1,2,50%,50% rotate[0] 25

Command: image.jpg +rotate -25,1,2,50%,50% rotate[0] 25
Command: image.jpg +rotate -25,1,2,50%,50% rotate[0] 25