fade_border: Add a fading border to an image

View source: R/pictplot.R

fade_borderR Documentation

Add a fading border to an image

Description

Add a fading border to an image

Usage

fade_border(im, npix, blur_radius = 6)

Arguments

im

an image

npix

thickness of the fading border

blur_radius

apply a blur of this radius to the fading border to avoid illusory edges at the image corners

Value

an image

Examples

plot(fade_border(regatta, npix = 30))

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