Dutch PHP Conference 2025 - Call For Papers

Imagick::cycleColormapImage

(PECL imagick 2, PECL imagick 3)

Imagick::cycleColormapImageDisplaces an image's colormap

Опис

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

add a note

User Contributed Notes

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