resize: Resize an image

Description Usage Arguments

View source: R/resize.R

Description

Decreases the side of an image so it can be used smoothly by other functions. Returns a raster.

Usage

1
2
resize(img, resize, from = c("auto", "raster", "url", "path", "array3",
  "matrix", "long"))

Arguments

img

source of any supported type, see ?convert

resize

resize factor between 0 and 1

from

source format, guessed by default


moodymudskipper/tweak documentation built on May 20, 2019, 8:49 a.m.