resize: Resize templates and images

Description Usage Arguments Value Examples

View source: R/resize.R

Description

Resize templates and images

Usage

1
resize(stimuli, width = NULL, height = NULL)

Arguments

stimuli

list of class stimlist

width

new width (in pixels or percent if < 10)

height

new height (in pixels or percent if < 10)

Value

stimlist with resized tems and/or images

Examples

1
2
3
4
demo_stim() %>%
  resize(.5, .75) %>%
  draw_tem() %>%
  plot()

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.