Flip a PhyloPic silhouette along its horizontal and/or vertical axis
The picture can be a Picture or png array object, e.g., from using get_phylopic()
.
flip_phylopic(img, horizontal = TRUE, vertical = FALSE)
img
: A Picture or png array object, e.g., from using get_phylopic()
.horizontal
: logical
. Should the silhouette be flipped horizontally?vertical
: logical
. Should the silhouette be flipped vertically?A Picture or png array object (matching the type of img
)
Other transformations: recolor_phylopic()
, rotate_phylopic()
Useful links