im_crop_square: Make an image square shaped

View source: R/pictplot.R

im_crop_squareR Documentation

Make an image square shaped

Description

Make an image square shaped

Usage

im_crop_square(im, position = 0.5)

Arguments

im

an image

position

square center. a numeric value between 0 and 1.

Value

an image

Examples

plot(im_crop_square(regatta))
plot(im_crop_square(regatta, position = 0))
plot(im_crop_square(regatta, position = 0.8))

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