编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::current
  • Imagick::decipherImage »
  • PHP Manual
  • Imagick
  • Displaces an image's colormap

Imagick::cycleColormapImage

(PECL imagick 2.0.0)

Imagick::cycleColormapImage — Displaces an image's colormap

说明

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.

参数

displace

The amount to displace the colormap.

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

相关文章
php gmagick displaces an image s colormapphp imagick annotates an image with textphp imagick enhances the contrast of a color imagephp imagick displaces an image s colormapphp imagick distorts an image using various distortion methodsphp imagick creates a horizontal mirror imagephp imagick gets image clip maskphp imagick returns the color of the specified colormap indexphp imagick gets the image gravityphp imagick returns the named image profilephp imagick returns the image profilesphp imagick adds a label to an imagephp imagick adjusts the levels of an imagephp imagick scales an image with pixel samplingphp imagick sets image alpha channelphp imagick sets the image depthphp imagick sets the page geometry of the imagephp imagick adjusts the contrast of an imagephp imagick applies a color vector to each pixel in the imagephp imagick writes an image or image sequence
关注编程学问公众号
编程学问网 湘ICP备20001732号