scale: Scale images

View source: R/scale.R

scaleR Documentation

Scale images

Description

Scale images

Usage

scale(images, geometry, frames = NULL)

Arguments

images

an object of class magick-image to modify

geometry

a character string specifying the target geometry, e.g. "50%" or "800x600".

frames

integer vector of frame indices to duplicate. Defaults to NULL, which duplicates all frames.

Value

a magick-image object

Verbosity

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’.

Examples


  dino_dir <- system.file("extdata", package = "stopmotion")
  images <- read(dir = dino_dir)
  scale(images = images, geometry = "50%")
  scale(images = images, geometry = "50%", frames = 2:3)


stopmotion documentation built on March 24, 2026, 5:06 p.m.

Related to scale in stopmotion...