Prev
MagickWand For PHP
Manual


Next

PixelSetColor

PixelSetColor -- sets the color of the PixelWand with an ImageMagick color string

Description

bool PixelSetColor( PixelWand pxl_wnd, string imagemagick_col_str )

Sets the color of the PixelWand with an ImageMagick color string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.). Returns TRUE if the string is a valid ImageMagick color string, and the color was set; FALSE otherwise.


A description of each parameter follows:

pxl_wnd A PixelWand resource
imagemagick_col_str The ImageMagick color string


Prev
PixelSetBlueQuantum
Up Next
PixelSetColorCount