The Imagick class
PHP Manual

Imagick::cycleColormapImage

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

Imagick::cycleColormapImageDisplaces an image's colormap

Description

bool Imagick::cycleColormapImage ( int $displace )
Warning

This function is currently not documented; only its argument list is available.

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.

Parameters

displace

The amount to displace the colormap.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual