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

search for in the

Imagick::pingImage> <Imagick::paintOpaqueImage
Last updated: Fri, 30 Jan 2009

view this page in

Imagick::paintTransparentImage

(No version information available, might be only in CVS)

Imagick::paintTransparentImage色にマッチするピクセルを塗りつぶし色に変更する

説明

bool Imagick::paintTransparentImage ( mixed $target , float $alpha , float $fuzz )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

塗りつぶし色に指定した色にマッチするピクセルを変更します。

パラメータ

target

この対象色を変更して、画像の不透明度を指定します。

alpha

不透明度レベル。1.0 は完全な不透明、0.0 は完全な透明を表します。

fuzz

画像の fuzz 値。 どの程度の色を「同じ色」とみなすかを表します。

返り値

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

エラー / 例外

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

変更履歴

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



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

Imagick::pingImage> <Imagick::paintOpaqueImage
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites