Imagick::paintFloodfillImage

Imagick::paintFloodfillImage

(PECL imagick 2.1.0)

Imagick::paintFloodfillImageChanges the color value of any pixel that matches target

Description

bool Imagick::paintFloodfillImage ( mixed $fill , float $fuzz , mixed $bordercolor , int $x , int $y [, int $channel = Imagick::CHANNEL_ALL ] )

Changes the color value of any pixel that matches target and is an immediate neighbor. As of ImageMagick 6.3.8 this method has been deprecated and Imagick::floodfillPaintImage() should be used instead.