palaeoverse / rphylopic

Get Silhouettes of Organisms from PhyloPic
https://rphylopic.palaeoverse.org
GNU General Public License v3.0
91 stars 9 forks source link

color outlines with recolor_phylopic #58

Closed willgearty closed 1 year ago

willgearty commented 1 year ago

This wouldn't work with png objects (but eww anyways), but it should be pretty easy to allow for silhouette fills to be different from colors (outline color).

One concern is that if we switch the argument from color to fill, this could affect existing code. Maybe if only one of these is specified, it always changes both colors, but if both arguments/aesthetics are specified, then the fill and color would be different?