Skip to contents

The picture can be a Picture or png array object, e.g., from using get_phylopic(). Note that png array objects can only be rotated by multiples of 90 degrees.

Usage

rotate_phylopic(img, angle = 90)

Arguments

img

A Picture or png array object, e.g., from using get_phylopic().

angle

numeric. The number of degrees to rotate the silhouette clockwise.

Value

A Picture or png array object (matching the type of img)

See also

Other transformations: flip_phylopic(), recolor_phylopic()