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
(,,
double radius = 0
,
double sigma = 10
)

Parameters

xOffset ssize_t

Influences the amount of background color in the horizontal dimension.

yOffset ssize_t

Influences the amount of background color in the vertical dimension.

radius double

The radius of the pixel neighborhood.

sigma double

The standard deviation of the Gaussian, in pixels.

Meta