(PECL imagick 2.0.0)
Imagick::adaptiveSharpenImage — Adaptively sharpen the image
$radius
, float $sigma
[, int $channel
= Imagick::CHANNEL_DEFAULT
] )Adaptively sharpen the image by sharpening more intensely near image edges and less intensely far from edges. 이 메쏘드는 Imagick을 ImageMagick 6.2.9 이상으로 컴파일 했을 때만 사용할 수 있습니다.
성공시에 TRUE
를 반환합니다.
Example #1 A Imagick::adaptiveSharpenImage() example
Adaptively sharpen the image with radius 2 and sigma 1.
<?php
try {
$image = new Imagick('image.png');
$image->adaptiveSharpenImage(2,1);
} catch(ImagickException $e) {
echo 'Error: ' , $e->getMessage();
die();
}
header('Content-type: image/png');
echo $image;
?>