ImagickPixel::getColorQuantum
PHP function
Edit on GitHub ✎
Returns the color of the pixel in an array as Quantum values
Description
ImagickPixel::getColorQuantum(): array
Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
Func
Parameters Parameters
Return Values
Returns an array with keys "r", "g", "b", "a".