Learn R Programming

ciftiTools (version 0.17.4)

crop_image: Crop image

Description

Crop whitespace from image

Usage

crop_image(x, dims = seq(2))

Value

The cropped image

Arguments

x

An image read by png::readPNG, or file path to that

dims

The dimensions to crop. Default: seq(2).