Image.vignette

Gradually shades the edges of the image by transforming the pixels into the background color.

Larger values of sigma increase the blurring at the expense of increased execution time. In general, radius should be larger than sigma, although if radius is 0 then ImageMagick will choose a suitable value. Sigma must be non-zero. Choose a very small value for sigma to produce a "hard" edge. *

class Image
void
vignette
(
ssize_t xOffset
,
ssize_t yOffset
,
double radius = 0
,
double sigma = 10
)

Parameters

xOffset
Type: ssize_t

Influences the amount of background color in the horizontal dimension.

yOffset
Type: ssize_t

Influences the amount of background color in the vertical dimension.

radius
Type: double

The radius of the pixel neighborhood.

sigma
Type: double

The standard deviation of the Gaussian, in pixels.

Meta