View source: R/img_guess_background.R
img_guess_background | R Documentation |
Guess the background colour as the dominant colour at the border of the image.
img_guess_background(x)
x |
an image, of type |
x <- img_read(system.file("extdata", "blob.jpg", package="morphr")) %>% img_show()
img_guess_background(x)
x <- img_read(system.file("extdata", "shape.png", package="morphr")) %>% img_show()
img_guess_background(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.