Prev
MagickWand For PHP
Manual


Next

PixelGetQuantumColor

PixelGetQuantumColor -- returns an array comprised of the red, green, blue and opacity Quantum color values of the PixelWand

Description

array PixelGetQuantumColor( PixelWand pxl_wnd )

Returns an array comprised of the red, green, blue, and opacity Quantum color values of the PixelWand. The Quantum color values are in the range 0 <= color <= MW_MaxRGB. The returned array is defined as follows: Array { ["r"] => red Quantum color value, ["g"] => green Quantum color value, ["b"] => blue Quantum color value, ["o"] => opacity Quantum color value }


A description of each parameter follows:

pxl_wnd A PixelWand resource


Prev
PixelGetOpacityQuantum
Up Next
PixelGetRed