• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Imagick::setImageColormapColor()

    (PECL imagick 2.0.0)

    Sets the color of the specified colormap index

    说明

    Imagick::setImageColormapColor(int $index, ImagickPixel$color): bool

    Sets the color of the specified colormap index.

    参数

    $index
    $color

    返回值

    成功时返回TRUE

    错误/异常

    错误时抛出 ImagickException。