downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::adaptiveResizeImage> <The Imagick class
[edit] Last updated: Fri, 24 Jun 2011

view this page in

Imagick::adaptiveBlurImage

(PECL imagick 2.0.0)

Imagick::adaptiveBlurImageاضافه کردن فیلتر blur دارای قابیت تطبیق به تصویر

Description

bool Imagick::adaptiveBlurImage ( float $radius , float $sigma [, int $channel = Imagick::CHANNEL_DEFAULT ] )

اضافه کردن فیلتر blur دارای قابیت تطبیق به تصویر.شدت blur دارای قابلیت تطبیق در لبه‌های تصویر کاهش می‌یابد برخلاف blur استاندارد که در طول تصویر یکنواخت است. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.

Parameters

radius

شعاع گاوسی به پیکسل بدون پیکسل مرکز. مقدار غیر از 0 فراهم کنید و شعاع بطور خودکار انتخاب خواهد شد.

sigma

انحراف معیار استاندارد گاوسی به پیکسل.

channel

Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

Examples

Example #1 Using Imagick::adaptiveBlurImage():

blur تطبیق‌پذیر تصویر و نمایش آن در مرورگر

<?php

header
('Content-type: image/jpeg');

$image = new Imagick('test.jpg');

$image->adaptiveBlurImage(5,3);
echo 
$image;

?>

The above example will output something similar to:

خروجی مثال : استفاده از Imagick::adaptiveBlurImage()

See Also



add a note add a note User Contributed Notes Imagick::adaptiveBlurImage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites