(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. 此方法在Imagick基于ImageMagick 6.4.5以上版本编译时可用。
replacementAn Imagick object containing the replacement colors
DITHERRefer to this list of dither method constants
成功时返回 true。
错误时抛出 ImagickException。