(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Imagick::remapImage — Remaps image colors
   Replaces colors an image with those defined by replacement. The colors
   are replaced with the closest possible color. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.5 o successive.
  
replacementAn Imagick object containing the replacement colors
DITHERRefer to this list of dither method constants
   Restituisce true in caso di successo.
  
Lancia una ImagickException in caso di errore.
