Php/docs/imagickpixel.getcolorquantum

来自菜鸟教程
跳转至:导航、​搜索

ImagickPixel::getColorQuantum

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

ImagickPixel::getColorQuantumDescription


说明

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

Warning 本函数还未编写文档,仅有参数列表。


参数

此函数没有参数。


返回值

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