Prev
MagickWand For PHP
Manual


Next

MagickGaussianBlurImage

MagickGaussianBlurImage -- blurs the current active image, or one of its image channels

Description

bool MagickGaussianBlurImage( MagickWand mgck_wnd, float radius, float sigma [, int channel_type] )

Blurs the current active image, or one of its image channels. It convolves the image cnannel with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and MagickGaussianBlurImageChannel() selects a suitable radius for you. Returns TRUE if successful, FALSE if an error occurred. If the optional channel_type parameter is specified, MagickGaussianBlurImageChannel() is called on the particular image channel. channel_type must be a ChannelType constant, one of the following: MW_RedChannel MW_CyanChannel MW_GreenChannel MW_MagentaChannel MW_BlueChannel MW_YellowChannel MW_AlphaChannel MW_OpacityChannel MW_BlackChannel MW_IndexChannel MW_AllChannels


A description of each parameter follows:

mgck_wnd A MagickWand resource
radius The radius of the Gaussian, in pixels, not counting the center pixel.
sigma The standard deviation of the Gaussian, in pixels.
channel_type (OPTIONAL) ChannelType constant


Prev
MagickGammaImage
Up Next
MagickGetCharHeight