Imagick::cycleColormapImage

(PECL imagick 2.0.0)
Displaces an image's colormap
bool Imagick::cycleColormapImage ( int $displace )

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.

Returns:

Returns TRUE on success.

Exception:

Throws ImagickException on error.

doc_php
2016-02-24 16:00:53
Comments
Leave a Comment

Please login to continue.