在线文档教程
PHP
Image/ImageMagick

Imagick::radialBlurImage

Imagick::radialBlurImage

(PECL imagick 2.0.0)

Imagick::radialBlurImage — Radial blurs an image

Description

bool Imagick::radialBlurImage ( float $angle [, int $channel = Imagick::CHANNEL_ALL ] )

Radial blurs an image.

Parameters

angle channel

Return Values

Returns TRUE on success.

Examples

Example #1 Imagick::radialBlurImage()

<?php function radialBlurImage($imagePath) {     $imagick = new \Imagick(realpath($imagePath)     //Blur 3 times with different radii     $imagick->radialBlurImage(3     $imagick->radialBlurImage(5     $imagick->radialBlurImage(7     header("Content-Type: image/jpg"     echo $imagick->getImageBlob( } ?>

← Imagick::queryFormats

Imagick::raiseImage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.radialblurimage.php