JavaScript Editor Javascript debugger     Website design 

Imagick::matteFloodfillImage

Changes the transparency value of a color ()
bool Imagick::matteFloodfillImage ( float alpha, float fuzz, ImagickPixel bordercolor, int x, int y )

Warning:

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

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Changes the transparency value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the transparency value is changed for any neighbor pixel that does not match the bordercolor member of image.

Parameters

alpha
fuzz
bordercolor
x
y

Return Values

Returns TRUE on success.