HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelDevelopmentTutorial Source codeReport an issue
Category
Example

Imagick::reduceNoiseImage

← recolorImage   remapImage →

This function is not available in ImageMagick 7.

Imagick::WaveletDenoiseImage should be used instead....but I need to add that to the extension first.

Example

function reduceNoiseImage($image_path, $reduceNoise)
{
    $imagick = new \Imagick(realpath($image_path));
    @$imagick->reduceNoiseImage($reduceNoise);
    header("Content-Type: image/jpeg");
    echo $imagick->getImageBlob();
}