array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'imagick.enhanceimage.php', 1 => 'Imagick::enhanceImage', 2 => 'Improves the quality of a noisy image', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.encipherimage.php', 1 => 'Imagick::encipherImage', ), 'next' => array ( 0 => 'imagick.equalizeimage.php', 1 => 'Imagick::equalizeImage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/enhanceimage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::enhanceImage

(PECL imagick 2, PECL imagick 3)

Imagick::enhanceImageImproves the quality of a noisy image

Beschreibung

public Imagick::enhanceImage(): bool

Applies a digital filter that improves the quality of a noisy image.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Liefert true bei Erfolg.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.

Beispiele

Beispiel #1 Imagick::enhanceImage()

<?php
function enhanceImage($imagePath) {
$imagick = new \Imagick(realpath($imagePath));
$imagick->enhanceImage();
header("Content-Type: image/jpg");
echo
$imagick->getImageBlob();
}

?>