im_resize_limit: Resize image

View source: R/pictplot.R

im_resize_limitR Documentation

Resize image

Description

Resize image

Usage

im_resize_limit(im, bound, interpolation = 1)

Arguments

im

an image

bound

max image size (width/height)

interpolation

Interpolation method. Either 0 (nearest-neighbor), 1 (linear), or 2 (cubic).

Value

an image

Examples

dim(regatta)
dim(im_resize_limit(regatta, 200))

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.