Imagick::cycleColormapImage
PHP Manual
PHP Manual»Imagick»Imagick::cycleColormapImage

Imagick::cycleColormapImage

(PECL imagick 2, PECL imagick 3)

Imagick::cycleColormapImageDisplaces an image's colormap

Опис

public function Imagick::cycleColormapImage(int $displace): bool

Displaces 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 в разі помилки.

To Top