(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()
1 2 3 4 5 6 7 8 9 | <?php function enhanceImage( $imagePath ) { $imagick = new \Imagick( realpath ( $imagePath )); $imagick ->enhanceImage(); header( "Content-Type: image/jpg" ); echo $imagick ->getImageBlob(); } ?> |
Please login to continue.