Imagick::cycleColormapImage

(PECL imagick 2.0.0)

Imagick::cycleColormapImageDisplaces an image's colormap

Opis

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.

Parametry

displace

The amount to displace the colormap.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.

Błędy/Wyjątki

Zgłasza wyjątek ImagickException w przypadku błędu.

add a note add a note

User Contributed Notes

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