im_combine: Combine images

View source: R/pictplot.R

im_combineR Documentation

Combine images

Description

Combine images

Usage

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

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/pictplot documentation built on March 1, 2023, 8:44 p.m.