ImagickPixel::setIndex

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

ImagickPixel::setIndexSets the colormap index of the pixel wand

说明

publicImagickPixel::setIndex(int$index): bool

Sets the colormap index of the pixel wand.

参数

index

返回值

成功时返回 true

To Top