Imagick::decipherImage> <Imagick::current
Last updated: Fri, 30 Dec 2011

Imagick::cycleColormapImage

(PECL imagick 2.0.0)

Imagick::cycleColormapImageDisplaces an image's colormap

Descrição

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.

Parâmetros

displace

The amount to displace the colormap.

Valor Retornado

Retorna TRUE em sucesso.

Erros

Dispara ImagickException em erro.



User Contributed Notes
Imagick::cycleColormapImage
DJ Mike
12-Apr-2011 03:05
<?php
header
("Content-type: image/jpeg");
$image = new Imagick("example.jpg");
$image->cyclecolormapImage(30);
echo
$image;
?>

Imagick::decipherImage> <Imagick::current
Last updated: Fri, 30 Dec 2011