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

search for in the

Imagick::colorizeImage> <Imagick::coalesceImages
[edit] Last updated: Fri, 25 May 2012

view this page in

Imagick::colorFloodfillImage

(PECL imagick 2.0.0)

Imagick::colorFloodfillImage対象にマッチする任意の点の色の値を変更する

説明

bool Imagick::colorFloodfillImage ( mixed $fill , float $fuzz , mixed $bordercolor , int $x , int $y )

対象にマッチする任意の点の色の値を変更します。

パラメータ

fill

塗りつぶし色を表す ImagickPixel オブジェクト。

fuzz

fuzz の量。たとえば fuzz を 10 に設定すると、 赤の輝度が 100 および 102 の点は同じ色とみなされます。

bordercolor

枠線の色を表す ImagickPixel オブジェクト。

x

開始位置の X 座標。

y

開始位置の Y 座標。

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に ImagickException をスローします。

変更履歴

バージョン 説明
2.1.0 色を表す文字列を最初のパラメータと三番目のパラメータとして指定できるようになりました。 これまでのバージョンでは ImagickPixel オブジェクトしか指定できませんでした。



add a note add a note User Contributed Notes Imagick::colorFloodfillImage
There are no user contributed notes for this page.

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