img_resize: Resize an image (and record metadata)

Description Usage Arguments Value

View source: R/utils.R

Description

Resize an image (and record metadata)

Usage

1

Arguments

img

Image

...

additional arguments to EBImage::resize: width w, height h, output.dim = c(w, h), output.origin = c(0, 0), antialias = F, ... (other arguments to affine, including bg.col, antialias, filter)

Value

resized image with attribute "operation" that records the original and final dimensions of the image


srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.