Imagick::reduceNoiseImage
Smooths the contours of an image
WarningThis function has been DEPRECATED as of Imagick 3.4.4. Relying on this function is highly discouraged.
Description
public bool Imagick::reduceNoiseImage(float $radius
)
Return Values
Returns true
on success.
Errors/Exceptions
Throws ImagickException on error.
Examples
Example #1 Imagick::reduceNoiseImage
<?php
function reduceNoiseImage($imagePath, $reduceNoise) {
$imagick = new \Imagick(realpath($imagePath));
@$imagick->reduceNoiseImage($reduceNoise);
header("Content-Type: image/jpg");
echo $imagick->getImageBlob();
}
?>