Imagick
PHP Manual

Imagick::remapImage

(Não há informação de versão disponível, talvez apenas no SVN)

Imagick::remapImageRemaps image colors

Descrição

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

Replaces colors an image with those defined by replacement. The colors are replaced with the closest possible color. This method is available if Imagick has been compiled against ImageMagick version 6.4.5 or newer.

Parâmetros

replacement

An Imagick object containing the replacement colors

DITHER

Refer to this list of dither method constants

Valor Retornado

Returns TRUE on success.

Erros

Throws ImagickException on error.


Imagick
PHP Manual