Function: rotate

Function: rotate

since 0.3.9

Usage

 rotate(input: image, angle: some_number)

Rotate an image. The image can become larger to accomodate the rotated bounding box.

Parameters

Parameter Type Description
input image Image to rotate.
angle real number Angle to rotate by, in degrees counter clockwise.

Examples

 rotate("image_logo.png", angle:30)  ==  [[Image]]
 rotate("image_logo.png", angle:30) == "image_logo_rotate30.png"

See also

flip_horizontal Flip an image horizontally
flip_vertical Flip an image vertically