ImagickPixel::setIndex

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

ImagickPixel::setIndexDescription

Description

public ImagickPixel::setIndex ( int $index ) : bool

Sets the colormap index of the pixel wand.

Parameters

index

Return Values

Returns true on success.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagickpixel.setindex.php