image_merge: Merge images

Description Usage Arguments Value Examples

View source: R/spirograph.R

Description

Merge images

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
6
7
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)

wjschne/spiro documentation built on Dec. 16, 2020, 6:48 p.m.