image_pal | R Documentation |
Read an image from disk or url and extract dominant colors using kmeans.
image_pal(image_source = "https://www.r-project.org/Rlogo.png")
image_source |
character file path or url |
n |
integer number of color centers to extract |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.