Function: rotate

Function: rotate

since 0.3.9


 rotate(input: image, angle: some_number)

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


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


 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