Home > PHP > Function > > Imagick::cycleColormapImage()

Imagick::cycleColormapImage()

Imagick::cycleColormapImage - Displaces an image's colormap

Syntax

bool Imagick::cycleColormapImage (int $displace)

Arguments

  • displace - The amount to displace the colormap.

Description

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.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.