Merge images

image_merge(
  input,
  output = NA,
  copies = 1,
  delete_input = TRUE,
  openfile = TRUE
)

Arguments

input

Vector of file names to merge

output

File name of .svg file to output.

copies

The number of copies of the input file to make

delete_input

Delete input file(s)

openfile

Open file in default program for .svg format. Defaults to FALSE

Value

output name

Examples

library(spiro)
c(spiro(fixed_radius = 6, transparency = 0.5),
  spiro(fixed_radius = 3, transparency = 0.5)
) %>%
  image_merge(
    output = "image_merge.svg",
    delete_input = TRUE)