recolor_png: Recolour a PhyloPic image
Description
Internal function to recolour and change alpha levels of a PhyloPic image.
Usage
recolor_png(img, alpha = 1, color = NULL)
Value
A png object (stored as an array)
Arguments
- img
A png object (stored as an array), e.g., from using
get_phylopic()
- alpha
A value between 0 and 1, specifying the opacity of the
silhouette.
- color
Color to plot the silhouette in.