ImagickPixel::getColorQuantum

Returns the color of the pixel in an array as Quantum values

Description

public array ImagickPixel::getColorQuantum()

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.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

Returns an array with keys "r", "g", "b", "a".