Imagick クラス
PHP Manual

Imagick::remapImage

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

Imagick::remapImageRemaps image colors

説明

public void Imagick::remapImage ( Imagick $replacement , int $DITHER )

Replaces colors an image with those defined by replacement. The colors are replaced with the closest possible color. このメソッドは、ImageMagick バージョン 6.4.5 以降で Imagick をコンパイルした場合に使用可能です。

パラメータ

replacement

An Imagick object containing the replacement colors

DITHER

Refer to this list of dither method constants

返り値

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

エラー / 例外

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


Imagick クラス
PHP Manual