Imagick::remapImage

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

Imagick::remapImageRemaps image colors

Descrição

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. Este método está disponível se o PHP foi compilado com o ImageMagick versão 6.4.5 ou superior.

Parâmetros

replacement

An Imagick object containing the replacement colors

DITHER

Refer to this list of dither method constants

Valor Retornado

Retorna true no sucesso.

Erros

Lança ImagickException em caso de erro.

add a note add a note

User Contributed Notes

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