im_combine: Combine images

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Combine images

Usage

1
im_combine(im1, im2, y = 0, x = 0, alpha = FALSE, background = 1)

Arguments

im1

an image

im2

an image

y

y-offset

x

x-offset

alpha

either FALSE (default) or TRUE (enable alpha transparency)

background

background color

Value

an image

Examples

1
2
3
4
plot(im_combine(regatta, regatta, y = im_height(regatta)))
plot(im_combine(regatta, regatta, y = 100, x = 200))
plot(im_combine(regatta, regatta, y = 100, x = 200, background = 0.5))
plot(im_combine(regatta, regatta, y = 100, x = 200, background = c(1, 0.5, 0.5)))

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.