GoLang ImagickPixel::getColorQuantum

request it (241)
GoLang replacement for PHP's ImagickPixel::getColorQuantum [edit | history]



Do you know a GoLang replacement for PHP's ImagickPixel::getColorQuantum? Write it!

PHP ImagickPixel::getColorQuantum

PHP original manual for ImagickPixel::getColorQuantum [ show | php.net ]

ImagickPixel::getColorQuantum

(No version information available, might only be in Git)

ImagickPixel::getColorQuantumDescription

Description

public array ImagickPixel::getColorQuantum ( void )

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".