Imagick::remapImage

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

Imagick::remapImageRemaps image colors

說明

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

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 add a note

User Contributed Notes

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