--TEST-- Test Imagick, floodFillPaintImage --SKIPIF-- --FILE-- newPseudoImage(640, 480, "magick:logo"); $imagick->floodFillPaintImage( $fillColor, $fuzz * \Imagick::getQuantum(), $targetColor, $x, $y, $inverse, $channel ); $bytes = $imagick->getImageBlob(); if (strlen($bytes) <= 0) { echo "Failed to generate image.";} } floodFillPaintImage($fillColor, $fuzz, $targetColor, $x, $y, $inverse, $channel) ; echo "Ok"; ?> --EXPECTF-- Ok