Imagick::enhanceImage
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Improves the quality of a noisy image
Description
Imagick::enhanceImage(): bool
Applies a digital filter that improves the quality of a noisy image.
Parameters Parameters
Return Values
Success
Errors/Exceptions
Throws
Examples
php
<?php
function enhanceImage($imagePath) {
$imagick = new \Imagick(realpath($imagePath));
$imagick->enhanceImage();
header("Content-Type: image/jpg");
echo $imagick->getImageBlob();
}
?>