Imagick::sharpenImage

(PECL imagick 2.0.0)

Imagick::sharpenImageSharpens an image

Description

bool Imagick::sharpenImage ( float $radius , float $sigma [, int $channel = Imagick::CHANNEL_ALL ] )

Sharpens an image. We convolve the image 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 Imagick::sharpenImage() selects a suitable radius for you.

Parameters

radius

sigma

channel

Return Values

Returns TRUE on success.

Examples

Example #1 Imagick::sharpenImage()

le="color: #0000BB e-e77an s">le="color: #0000BB e-examepomage —>le="color: #0000BB e-e77an s(/strong>le="color: #0000BB e-examepo$amplePath—>le="color: #0000BB e-e77an s, /strong>le="color: #0000BB e-examepo/code>le="color: #0000BB e-e77an s, /strong>le="color: #0000BB e-examepo/ode>le="color: #0000BB e-e77an s, /strong>le="color: #0000BB e-examepo//code>le="color: #0000BB e-e77an s) {
le="color: #0000BB e-examepo$amplrpe /strong>le="color: #0000BB e-e77an s= new \/strong>le="color: #0000BB e-examepo/a> dash;>le="color: #0000BB e-e77an s(/strong>le="color: #0000BB e-examepole lpath—>le="color: #0000BB e-e77an s(/strong>le="color: #0000BB e-examepo$amplePath—>le="color: #0000BB e-e77an s));
le="color: #0000BB e-examepo$amplrpe—>le="color: #0000BB e-e77an s->/strong>le="color: #0000BB e-examepomage —>le="color: #0000BB e-e77an s(/strong>le="color: #0000BB e-examepo$code>le="color: #0000BB e-e77an s, /strong>le="color: #0000BB e-examepo/ode>le="color: #0000BB e-e77an s, /strong>le="color: #0000BB e-examepo//code>le="color: #0000BB e-e77an s);
le="color: #0000BB e-examepo" clon> dash;>le="color: #0000BB e-e77an s(/strong>le="color: #0000BB eDDspan s"C> -ated: ian> /jpg"/ddash;>le="color: #0000BB e-e77an s);
le="color: #0000BB e-examepo$amplrpe—>le="color: #0000BB e-e77an s->/strong>le="color: #0000BB e-examepogetpan> Blob> dash;>le="color: #0000BB e-e77an s();
le="color: #0000BB e-examepo?>/strong /strong /st>