ImagickPixel::setIndex (PECL imagick 2 >= 2.3.0, PECL imagick 3)ImagickPixel::setIndex — Sets the colormap index of the pixel wand 说明 public ImagickPixel::setIndex(int $index): bool Sets the colormap index of the pixel wand. 参数 index 返回值 成功时返回 true。