Imagick
PHP Manual

Imagick::remapImage

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

Imagick::remapImageRemaps image colors

Descrizione

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.

Elenco dei parametri

replacement

An Imagick object containing the replacement colors

DITHER

Refer to this list of dither method constants

Valori restituiti

Restituisce TRUE in caso di successo.

Errori/Eccezioni

Lancia una ImagickException in caso di errore.


Imagick
PHP Manual