(PECL imagick 2.0.0)
Imagick::equalizeImage — Equalizes the image histogram
Equalizes the image histogram.
성공시에 TRUE
를 반환합니다.
오류시에 ImagickException이 발생합니다.
Example #1 Imagick::equalizeImage()
<?php
function equalizeImage($imagePath) {
$imagick = new \Imagick(realpath($imagePath));
$imagick->equalizeImage();
header("Content-Type: image/jpg");
echo $imagick->getImageBlob();
}
?>