Imagick::remapImage

(No version information available, might only be in Git)

Imagick::remapImageRemaps image colors

Açıklama

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. Bu yöntem, derleme sırasında ImageMagick kütüphanesinin 6.4.5 veya sonraki bir sürümü kuruluysa kullanılabilir.

Değiştirgeler

replacement

An Imagick object containing the replacement colors

DITHER

Refer to this list of dither method constants

Dönen Değerler

Başarı durumunda TRUE döner.

Hatalar/İstisnalar

Hata durumunda bir ImagickException istisnası oluşur.