(PECL imagick 2.0.0)
Improves the quality of a noisy image
bool Imagick::enhanceImage ( void )
Applies a digital filter that improves the quality of a noisy image.
Returns:
Returns TRUE
on success.
Exception:
Throws ImagickException on error.
Examples:
Imagick::enhanceImage()
<?php function enhanceImage($imagePath) { $imagick = new \Imagick(realpath($imagePath)); $imagick->enhanceImage(); header("Content-Type: image/jpg"); echo $imagick->getImageBlob(); } ?>
Please login to continue.