G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.5.3 (2025/03/07)

Reference

Table of Contents  ▸  List of Commands  ▸  Geometry Manipulation  ▸  rotate◀  resize_pow2    |    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:

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
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.