PHP - Manual: Imagick::cycleColormapImage
2024-12-22
(PECL imagick 2, PECL imagick 3)
Imagick::cycleColormapImage — Displaces an image's colormap
$displace
): boolDisplaces an image's colormap by a given number of positions. If you cycle the colormap a number of times you can produce a psychedelic effect.
displace
The amount to displace the colormap.
成功时返回 true
。
错误时抛出 ImagickException。
官方地址:https://www.php.net/manual/en/imagick.cyclecolormapimage.php