Dutch PHP Conference 2025 - Call For Papers

Imagick::remapImage

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::remapImageRemaps image colors

Опис

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

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 в разі помилки.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top