| montage | R Documentation |
Arranges selected frames into a single composite image.
Wraps magick::image_montage.
montage(
images,
geometry = NULL,
tile = NULL,
gravity = "Center",
bg = "white",
shadow = FALSE,
frames = NULL
)
images |
an object of class |
geometry |
a geometry string controlling the size and spacing of each
tile, e.g. |
tile |
a string specifying the grid layout, e.g. |
gravity |
anchor point for each tile's label and content: one of
|
bg |
background colour string, e.g. |
shadow |
logical. Whether to add a drop-shadow under each tile. |
frames |
integer vector of frame indices to duplicate. Defaults to
|
a magick-image object containing a single composite frame.
dino_dir <- system.file("extdata", package = "stopmotion")
images <- read(dir = dino_dir)
montage(images)
montage(images, frames = 1:4, tile = "4x1", geometry = "128x128+4+4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.