PHP 8.3.4 Released!

Imagick::remapImage

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

Imagick::remapImageRemaps image colors

Descrizione

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. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.5 o successive.

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.

add a note

User Contributed Notes

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