| background | R Documentation |
Set the background colour of images
background(images, color = "white", frames = NULL)
images |
an object of class |
color |
a character string specifying a colour,
e.g. |
frames |
integer vector of frame indices to duplicate. Defaults to
|
a magick-image object
After each operation a message listing the updated frame sequence is
printed in interactive sessions. Use
stopmotion_verbosity(FALSE) to suppress these messages, or set
options(stopmotion.verbose = FALSE) in your script or
‘.Rprofile’.
dino_dir <- system.file("extdata", package = "stopmotion")
images <- read(dir = dino_dir)
background(images = images, color = "white")
background(images = images, color = "white", frames = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.