(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 или старше.
replacement
An Imagick object containing the replacement colors
DITHER
Refer to this list of dither method constants
В случае успешной работы возвращает true
.
Вызывает ImagickException при ошибке.